Opened 21 months ago
Closed 19 months ago
#67045 closed defect (fixed)
py311-ipykernel @6.20.1_0 -- ModuleNotFoundError: No module named 'comm'
Reported by: | wcvinyard (Bill) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | mf2k (Frank Schima) | |
Port: | py-ipykernel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (4)
comment:1 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | ModuleNotFoundError removed |
Owner: | set to stromnov |
Port: | py-ipykernel added; py311-ipykernel @6.20.1_0 removed |
Status: | new → assigned |
comment:2 Changed 21 months ago by mf2k (Frank Schima)
Cc: | mf2k added |
---|
comment:3 Changed 21 months ago by mf2k (Frank Schima)
comment:4 Changed 19 months ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
py-comm
dependency was added in this commit
Note: See
TracTickets for help on using
tickets.
Installing py-comm fixes the issue for me.