ipykernel icon indicating copy to clipboard operation
ipykernel copied to clipboard

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

Open stephanecollot opened this issue 3 years ago • 1 comments

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

stephanecollot avatar Feb 05 '22 20:02 stephanecollot

I actually solved my issue by creating a new venv, cf my stackoverflow answer.

stephanecollot avatar Feb 05 '22 21:02 stephanecollot