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

Current resources/environment.yml has a bad traittypes version #11

Open
malkir opened this issue Jul 3, 2024 · 0 comments
Open

Current resources/environment.yml has a bad traittypes version #11

malkir opened this issue Jul 3, 2024 · 0 comments

Comments

@malkir
Copy link

malkir commented Jul 3, 2024

You'd have to pin traittypes<5.10 in environment.yml under pip: if users wanted to use your current pinned versions.

Error for users would look like:

~# jupyter-notebook
Traceback (most recent call last):
  File "/root/miniforge3/envs/dsc80/lib/python3.8/site-packages/notebook/traittypes.py", line 235, in _resolve_classes
    klass = self._resolve_string(klass)
  File "/root/miniforge3/envs/dsc80/lib/python3.8/site-packages/traitlets/traitlets.py", line 2020, in _resolve_string
    return import_item(string)
  File "/root/miniforge3/envs/dsc80/lib/python3.8/site-packages/traitlets/utils/importstring.py", line 31, in import_item
    module = __import__(package, fromlist=[obj])
ModuleNotFoundError: No module named 'jupyter_server.contents'
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

1 participant