Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ModuleNotFoundError: No module named 'comm'" when running 'python -m ipykernel install' #1225

Open
brad-eisenhauer opened this issue Mar 28, 2024 · 1 comment

Comments

@brad-eisenhauer
Copy link

Python version: 3.10.14
ipykernel version: 6.29.4

Command:

$ python -m ipykernel install --user --name=my-venv

Result:

Traceback (most recent call last):
  File "/opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/beise/[redacted]/.venv/lib/python3.10/site-packages/ipykernel/__main__.py", line 3, in <module>
    from ipykernel import kernelapp as app
  File "/Users/beise/[redacted]/.venv/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 54, in <module>
    from .ipkernel import IPythonKernel
  File "/Users/beise/[redacted]/.venv/lib/python3.10/site-packages/ipykernel/ipkernel.py", line 15, in <module>
    import comm
ModuleNotFoundError: No module named 'comm'

Expected result:

Installed kernelspec my-venv in /Users/beise/Library/Application Support/Jupyter/kernels/my-venv

Works properly with v 6.29.3.

@TiansuYu
Copy link

Same issue with 6.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants