ipython / ipython/ipykernel

ImportError: cannot import name 'filefind' from 'traitlets.utils' (/usr/lib/python3/dist-packages/traitlets/utils/init.py)

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

Descrizione

Hi,

I'm trying to add an env with:
`python -m ipykernel install --name=py38 --prefix=/home/user/`

And I get the following error:
`ImportError: cannot import name 'filefind' from 'traitlets.utils' (/usr/lib/python3/dist-packages/traitlets/utils/init.py)`
After the call of ipykernel/kernelapp.py line 33

With ipykernel 6.0 and 6.7 it works, but not with version 6.8
Multiple people are facing this issue:
https://stackoverflow.com/questions/69809832/ipykernel-jupyter-notebook-labs-cannot-import-name-filefind-from-traitlets

Cheers

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with ipykernel/kernelapp.py line 33 and the reported traitlets.utils/init.py path, then reproduce the command with ipykernel 6.8 and compare it with 6.0 or 6.7. Determine the compatibility issue behind the filefind import; done means the same install command succeeds on 6.8.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.