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

nbclient 0.5.11 not compatible with traitlets 4.3.3 #203

Closed
hongfei0224 opened this issue Mar 5, 2022 · 1 comment · Fixed by #204
Closed

nbclient 0.5.11 not compatible with traitlets 4.3.3 #203

hongfei0224 opened this issue Mar 5, 2022 · 1 comment · Fixed by #204

Comments

@hongfei0224
Copy link

I have nbclient 0.5.11 with traitlets 4.3.3.

import nbclient
would give error below:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/nbclient/__init__.py", line 6, in <module>
    from .client import NotebookClient, execute  # noqa: F401
  File "/usr/local/lib/python3.7/site-packages/nbclient/client.py", line 18, in <module>
    from traitlets import (
ImportError: cannot import name 'Callable' from 'traitlets' (/usr/local/lib/python3.7/site-packages/traitlets/__init__.py)
@davidbrochart
Copy link
Member

Thanks for reporting, indeed nbclient now needs traitlets>=5.0.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

Successfully merging a pull request may close this issue.

2 participants