Opened 2 months ago

Last modified 6 weeks ago

#69542 assigned defect

Jupyter_select fails

Reported by: brunoomartin Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: jupyter_select

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi, Trying to run the command

bash-5.2# port select --set jupyter py311-jupyter

reports the following error

Selecting 'py311-jupyter' for 'jupyter' failed: could not create new link "/opt/local/bin/jupyter-bundlerextension": target "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter-bundlerextension" doesn't exist

Indeed, jupyter-bundlerextension does not exist in the Framework (though the remaining path does).
I'm not able to change the Jupiter kernel though python is using the good one.
Any fix ? Thanks in advance.

Change History (4)

comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: Jupyter_select removed
Port: jupyter_select added

comment:2 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to stromnov
Status: newassigned

comment:3 Changed 2 months ago by greyhare

I have the same problem with selecting py312-jupyter.

I can't find any files named that:

$ sudo find /opt/local -name jupyter-bundlerextension
$

comment:4 Changed 6 weeks ago by albcn

I get the same behaviour under macports 2.9.3 at sonoma arm. Interestingly I can select the 311 version.

$ sudo     port select --set jupyter py312-jupyter
Selecting 'py312-jupyter' for 'jupyter' failed: could not create new link "/opt/local/bin/jupyter-bundlerextension": target "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/jupyter-bundlerextension" doesn't exist
Note: See TracTickets for help on using tickets.