[MacPorts] #69256: py312-jupyterlab: jupyter-notebook-2.7: command not found (was: jupyter lab calls non-existent port)

MacPorts noreply at macports.org
Fri Feb 2 08:59:44 UTC 2024


#69256: py312-jupyterlab: jupyter-notebook-2.7: command not found
-------------------------------+----------------------
  Reporter:  Liontooth         |      Owner:  stromnov
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.9.1
Resolution:                    |   Keywords:
      Port:  py312-jupyterlab  |
-------------------------------+----------------------
Changes (by ryandesign):

 * keywords:  jupyter =>


Old description:

> I installed py312-jupyterlab and issued:
>
> $ jupyter lab
> -bash: jupyter-notebook-2.7: command not found

New description:

 I installed py312-jupyterlab and issued:

 {{{
 $ jupyter lab
 -bash: jupyter-notebook-2.7: command not found
 }}}

--

Comment:

 No port installs a `jupyter` program. py312-jupyter-core installs a
 `jupyter-3.12` program, and py312-jupyterlab installs a `jupyter-lab-3.12`
 program.

 Perhaps at some point you used the jupyter_select port (i.e. you ran `sudo
 port select jupyter [something]`) to create a symlink `jupyter` pointing
 to the python 2.7 version. Maybe you need to rerun that `sudo port select`
 command to select the python 3.12 version.

-- 
Ticket URL: <https://trac.macports.org/ticket/69256#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list