# How to solve no \`jupyter\` binary and only "dashed" version \`jupyter-lab\` binary?

**URL:** <https://discourse.jupyter.org/t/how-to-solve-no-jupyter-binary-and-only-dashed-version-jupyter-lab-binary/23388>\
**Category:** JupyterLab\
**Created:** [January 12, 2024, 5:18am UTC](https://discourse.jupyter.org/t/how-to-solve-no-jupyter-binary-and-only-dashed-version-jupyter-lab-binary/23388 "2024-01-12T05:18:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deeperand](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/deeperand/32/12134_2.png) [@Deeperand](https://discourse.jupyter.org/u/Deeperand)\
**Post date:** [January 12, 2024, 5:18am UTC](https://discourse.jupyter.org/t/how-to-solve-no-jupyter-binary-and-only-dashed-version-jupyter-lab-binary/23388/1 "2024-01-12T05:18:13Z")

</div>

I try to install Jupyter Lab on macOS, and found there are two ways. The first one via Homebrew

```auto
brew install jupyterlab

```

this way work fine, it brings a `jupyter` command. But the drawback is it looks to have an independent Python environment, so it can’t naturally benefit from my system-level Python environment.

Therefore, I also tried to install Jupyter Lab from `pip` via

```auto
pip3 install jupyterlab

```

However, looks install with this way can’t install executable `jupyter`. I can only launch Jupyter Lab with _dashed_ version `jupyter-lab`. This is a worse problem, because no `jupyter` command means some important subcommands like `jupyter --paths`, `jupyter kernelspec list` can’t be executed, and which also bring extra errors when try to run some scripts (e.g. I tried to install Wolfram Kernel for Jupyter via script `./configure-jupyter.wls add` mentioned in [WolframResearch/WolframLanguageForJupyter](https://github.com/WolframResearch/WolframLanguageForJupyter) but will meet `Jupyter installation on Environment["PATH"] not found` problem).

I also searched related discussions about similar problems. But none of them is what I wish to ask. Following is the main categories about the similar discussions

- Some is about adding appropriate `bin` directory to `$PATH`, but note here I even have no `jupyter` executable!
- And other is about conflict with Conda environment, but I also didn’t use Conda or similar self-contained environment tools.
- Furthermore, I also investigated the PyPI page of `jupyterlab` package (see [JupyterLab](https://pypi.org/project/jupyterlab/)), but there also didn’t have any discussion about no `jupyter` executable problem–looks the doc assume `pip install jupyterlab` will bring `jupyter` executable. By from in my case, it only bring “dashed” version executable like `jupyter-lab`, but no `jupyter` executable at all.

So if there are any way to have `jupyter` executable when install Jupyter Lab with `pip`?

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [January 12, 2024, 1:46pm UTC](https://discourse.jupyter.org/t/how-to-solve-no-jupyter-binary-and-only-dashed-version-jupyter-lab-binary/23388/2 "2024-01-12T13:46:50Z")

</div>

> [@Deeperand](#):
>
> so it can’t naturally benefit from my system-level Python environment.

My understanding has been that the system-level Python is for your Mac’s system and not you. It’s covered in [here](https://justinmayer.com/posts/homebrew-python-is-not-for-you/), even though that wasn’t the main point of that post ([here](https://twitter.com/ __mharrison__ /status/1676353933462347776) is counter vote for homebrew from mid-223). Plus, see and [here](https://twitter.com/mrclbschff/status/1676616086710632448) and [here](https://twitter.com/aashiq/status/1676410363259105280). They even tried to make it more inaccessible in the last few years. However, maybe that isn’t what you mean and I’m misunderstanding what you mean there?

I know you’ve said you’ve researched this a lot, but did you also see [here](https://twitter.com/simonw/status/1582371957835583489). And [here](https://twitter.com/chrisalbon/status/1676309875025121280) from 2023.

---

<div class="post-metadata">

**Author:** ![Deeperand](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/deeperand/32/12134_2.png) [@Deeperand](https://discourse.jupyter.org/u/Deeperand)\
**Post date:** [January 13, 2024, 2:51am UTC](https://discourse.jupyter.org/t/how-to-solve-no-jupyter-binary-and-only-dashed-version-jupyter-lab-binary/23388/4 "2024-01-13T02:51:00Z")

</div>

> [@fomightez](#):
>
> My understanding has been that the system-level Python is for your Mac’s system and not you. …

Thanks for your reply! I also suspect those strange behavior is induced Homebrew Python. But because I have no too much knowledge about Python’s environment, before your reply I even didn’t notice this subtle problem.
