Opened 8 months ago
Closed 4 months ago
#69542 closed defect (fixed)
Jupyter_select fails
Reported by: | brunoomartin | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | Cc: | pmetzger (Perry E. Metzger) | |
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 (11)
comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | Jupyter_select removed |
Port: | jupyter_select added |
comment:2 Changed 8 months ago by jmroot (Joshua Root)
Owner: | set to stromnov |
---|---|
Status: | new → assigned |
comment:3 Changed 8 months ago by greyhare
comment:4 Changed 7 months 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
comment:5 Changed 6 months ago by 0dB
Same. MacPorts base version 2.9.3, Sonoma:
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
But for me, as opposed to albcn, I also cannot select the py311 version:
sudo port select --set jupyter py311-jupyter 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
But for info, I had already once previously selected py311-jupyter:
port select --summary Name Selected Options ==== ======== ======= jupyter py311-jupyter py311-jupyter py312-jupyter none
I just was not able to select it "again".
comment:6 Changed 6 months ago by albcn
Curious by 0dB comment, I tried to re-select previous versions, now I cannot select any of installed.
~ sudo port select jupyter py310-jupyter Selecting 'py310-jupyter' for 'jupyter' failed: could not create new link "/opt/local/bin/jupyter-bundlerextension": target "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/jupyter-bundlerextension" doesn't exist ~ sudo port select jupyter py311-jupyter 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 ~ sudo port select 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
comment:7 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | pmetzger added |
---|
Has duplicate #70214.
comment:8 Changed 5 months ago by pmetzger (Perry E. Metzger)
This has been open for quite a while I see.
comment:9 Changed 4 months ago by numaryu
I think this is caused by the migration of jupyter notebook from v6 to v7. Using the nbclassic package or just removing entries from /opt/local/etc/select/jupyter/base avoids the problem.
comment:11 Changed 4 months ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I have the same problem with selecting
py312-jupyter
.I can't find any files named that: