# Jupyter lab vs. jupyter-lab

**URL:** <https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337>\
**Category:** JupyterLab\
**Created:** [December 24, 2022, 12:42pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337 "2022-12-24T12:42:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oscar](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/oscar/32/8771_2.png) [@Oscar](https://discourse.jupyter.org/u/Oscar)\
**Post date:** [December 24, 2022, 12:42pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337/1 "2022-12-24T12:42:48Z")

</div>

Hi,  
since ever I was able to start jupyter lab from the windows 10 CMD console using jupyter lab.  
However, since a new installation of python and jupyter lab I am onyl able to open the program using jupyter-lab.  
I am asking myelf if this can cause any problems or has any other ramifications going forward. Also is there a change to put it back to the command jupyter lab, wich is the command in the official documentation?  
Thanks for any help in advance!  
Oscar

---

<div class="post-metadata">

**Author:** ![bollwyvl](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/bollwyvl/32/904_2.png) [@bollwyvl](https://discourse.jupyter.org/u/bollwyvl)\
**Post date:** [December 24, 2022, 1:13pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337/2 "2022-12-24T13:13:31Z")

</div>

From the command line, try:

```auto
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%`:

```auto
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](https://discourse.jupyter.org/t/module-versions-in-python/17240/4) and the associated contents about keeping Jupyter tools working “the hard way” in Windows with `mamba`.

---

<div class="post-metadata">

**Author:** ![Oscar](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/oscar/32/8771_2.png) [@Oscar](https://discourse.jupyter.org/u/Oscar)\
**Post date:** [December 24, 2022, 1:36pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337/3 "2022-12-24T13:36:14Z")

</div>

Hi,  
many thanks!  
I tried the where commands and got the follwing:

C:\Users\user\>where jupyter  
**C:\Users\user\AppData\Roaming\Python\Python311\Scripts\jupyter.exe**

C:\Users\user\>where jupyter-lab  
**C:\Python\Scripts\jupyter-lab.exe**

PATH is set as follows:  
 ![2022-12-24 14_32_42-Umgebungsvariable bearbeiten](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/3/384fafadbaec14766c008e999051cbf92946c3bb.png)

Any hints?  
Thanks in advance!  
Oscar

---

<div class="post-metadata">

**Author:** ![bollwyvl](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/bollwyvl/32/904_2.png) [@bollwyvl](https://discourse.jupyter.org/u/bollwyvl)\
**Post date:** [December 24, 2022, 2:06pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337/4 "2022-12-24T14:06:46Z")

</div>

I can’t in good conscience recommend using the official python installer on Windows, much less multiple times on your machine or whatever you are seeing. The number of things that _won’t work right_ is just very high.

As recommended in the post linked above:

- remove all your existing python installations _and_ references to them
  - with the GUI tool if provided
    - `rd /s /q` if you must
      - then manually clean up the environment variables, desktop shortcuts, registry entries, and wherever else stuff goes on windows

- start with [Mambaforge](https://conda-forge.org/miniforge/) in a very short path (e.g. `C:\mf`) on your fastest drive
  - keep that base environment very small (e.g. just `mamba`)

- build up from there with per-project `environment.yml`
  - even `pip`-only packages, can be managed in the `pip:` section

- use `mamba env update` for everything
  - never `pip install` anything
    - other than _your_ packages under development with `pip install -e .`

  - never `mamba install` anything
  - never use `conda` for much of anything

- use per-environment Windows Terminal shortcuts to manage running in the right environment

---

<div class="post-metadata">

**Author:** ![Oscar](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/oscar/32/8771_2.png) [@Oscar](https://discourse.jupyter.org/u/Oscar)\
**Post date:** [December 24, 2022, 4:46pm UTC](https://discourse.jupyter.org/t/jupyter-lab-vs-jupyter-lab/17337/5 "2022-12-24T16:46:55Z")

</div>

Hi Nicholas,  
many thanks and happy holidays!  
Best,  
Oscar
