From the command line, try:
where jupyter
where jupyter-lab
If they have radically different prefixes, you may want to remove one or the other.
There may also be issues with your %PATH%
:
set
See if your PATH
(or PYTHONPATH
) contain multiple python environments. This is also a recipe for disaster.
As a windows user, it may be worth looking at this screed and the associated contents about keeping Jupyter tools working “the hard way” in Windows with mamba
.