ipython / ipython/ipykernel

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

Aperta
#1,225 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

Python version: 3.10.14
ipykernel version: 6.29.4

Command:
```shell
$ python -m ipykernel install --user --name=my-venv
```

Result:
```shell
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.10/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/python@3.10/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
from ipykernel import kernelapp as app
File "/Users/beise/[redacted]/.venv/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 54, in
from .ipkernel import IPythonKernel
File "/Users/beise/[redacted]/.venv/lib/python3.10/site-packages/ipykernel/ipkernel.py", line 15, in
import comm
ModuleNotFoundError: No module named 'comm'
```

Expected result:
```shell
Installed kernelspec my-venv in /Users/beise/Library/Application Support/Jupyter/kernels/my-venv
```

Works properly with v 6.29.3.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the failure with Python 3.10.14 and ipykernel 6.29.4 using the reported install command, then compare it with 6.29.3. Start at ipykernel/__main__.py, kernelapp.py, and ipkernel.py, and verify completion when the command installs the my-venv kernelspec at the reported Jupyter path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.