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.7.1 raises ImportError when trying to open a notebook #265

Open
Imipenem opened this issue Dec 5, 2022 · 1 comment
Open

Comments

@Imipenem
Copy link

Imipenem commented Dec 5, 2022

Hey,

when using nbclient >= 0.7.1 I cannot open any notebook cause of getting a 500: INTERNAL SERVER ERROR and the following error message on the command line:

File "/home/myuser/anaconda3/envs/myenv/lib/python3.8/site-packages/nbclient/util.py", line 9, in <module>
        from jupyter_core.utils import ensure_async, run_sync  # noqa: F401
    ImportError: cannot import name 'ensure_async' from 'jupyter_core.utils' (/home/myuser/anaconda3/envs/myenv/lib/python3.8/site-packages/jupyter_core/utils/__init__.py)

Downgrading nbclient to version 7.0.0 fixes the error.

OS: Ubuntu 18.04 LTS; Python 3.8.

@NonContradiction
Copy link

Hi--do you mean downgrading to version 0.7.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

No branches or pull requests

2 participants