[MacPorts] #67045: py311-ipykernel @6.20.1_0 -- ModuleNotFoundError: No module named 'comm'
MacPorts
noreply at macports.org
Sun Mar 5 20:03:39 UTC 2023
#67045: py311-ipykernel @6.20.1_0 -- ModuleNotFoundError: No module named 'comm'
---------------------------------+---------------------------------------
Reporter: wcvinyard | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: ModuleNotFoundError | Port: py311-ipykernel @6.20.1_0
---------------------------------+---------------------------------------
macbookpro 16" late 2021 M1 Max
OS Ventura 13.2.1
After sudo port selfupdate attempted to start jupyter notebook and start
.ipynb file.
jupyter-notebook-3.11 starts but python311 kernel fails to connect.
{{{
% jupyter-notebook-3.11
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/jupyter_server/transutils.py:13: FutureWarning: The alias
`_()` will be deprecated. Use `_i18n()` instead.
warnings.warn(warn_msg, FutureWarning)
[I 2023-03-05 12:28:28.090 LabApp] JupyterLab extension loaded from
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/jupyterlab
[I 2023-03-05 12:28:28.090 LabApp] JupyterLab application directory is
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab
[I 12:28:28.094 NotebookApp] Serving notebooks from local directory:
/Users/.../Library/CloudStorage/.../Documents/analytics/prog_python
[I 12:28:28.094 NotebookApp] Jupyter Notebook 6.4.11 is running at:
[I 12:28:28.094 NotebookApp]
http://localhost:8888/?token=243f0d9d4abe1213801e6027f7b9a25acad3298c3da543fb
[I 12:28:28.094 NotebookApp] or
http://127.0.0.1:8888/?token=243f0d9d4abe1213801e6027f7b9a25acad3298c3da543fb
[I 12:28:28.094 NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).
[C 12:28:28.099 NotebookApp]
To access the notebook, open this file in a browser:
file:///Users/.../Library/Jupyter/runtime/nbserver-68309-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=243f0d9d4abe1213801e6027f7b9a25acad3298c3da543fb
or
http://127.0.0.1:8888/?token=243f0d9d4abe1213801e6027f7b9a25acad3298c3da543fb
0.00s - Debugger warning: It seems that frozen modules are being used,
which may
0.00s - make the debugger miss breakpoints. Please pass
-Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1
to disable this validation.
[I 12:28:42.205 NotebookApp] Kernel started: 2272ec18-8dc7-4363-881b-
5a72cc9d3c43, name: python3
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/ipykernel_launcher.py", line 15, in <module>
from ipykernel import kernelapp as app
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/ipykernel/kernelapp.py", line 51, in <module>
from .ipkernel import IPythonKernel
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/ipykernel/ipkernel.py", line 13, in <module>
import comm
ModuleNotFoundError: No module named 'comm'
}}}
Here is jupyter-kernelspec list:
{{{
% jupyter-kernelspec-3.11 list
0.00s - Debugger warning: It seems that frozen modules are being used,
which may
0.00s - make the debugger miss breakpoints. Please pass
-Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1
to disable this validation.
Available kernels:
octave /Users/billvinyard/Library/Jupyter/kernels/octave
python3
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/jupyter/kernels/python3
ir42 /opt/local/share/jupyter/kernels/ir42
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67045>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list