-
Notifications
You must be signed in to change notification settings - Fork 436
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
Error: ImportError: cannot import name 'AsyncKernelManager' from 'jupyter_client` #486
Comments
Found error - update to jupyter-client, pegging it to |
Yes the dependency chain is a little tighter for the most recent updates on upstream tools. >=6.1.2 should be sufficient and stable now |
Hey, updating isn't fixing the error either |
Check your jupyter package versions, and make sure you're running in the environment you think you are.
|
Update jupyter-client work for me
|
As previously raised in nteract#486 nteract#492 nteract#500 nteract#522 and nteract#523 if papermill is used in an environment with an older version of `jupyter_client` it will throw an error. This is caused by the dependency `nbclient>=0.2.0` that depends on `jupyter_client>=6.1.0`. This dependency is overridden by papermill by having `jupyter_client` in `requirements.txt` without a version, meaning any version (even an older one) is accepted if already installed. To make sure the expected version of `jupyter_client` is installed we should set `jupyter_client>=6.1.0` to match `nbclient`.
As previously raised in #486 #492 #500 #522 and #523 if papermill is used in an environment with an older version of `jupyter_client` it will throw an error. This is caused by the dependency `nbclient>=0.2.0` that depends on `jupyter_client>=6.1.0`. This dependency is overridden by papermill by having `jupyter_client` in `requirements.txt` without a version, meaning any version (even an older one) is accepted if already installed. To make sure the expected version of `jupyter_client` is installed we should set `jupyter_client>=6.1.0` to match `nbclient`.
Hey, I just encountered a similar problem. do you mind elaborate on this part coz I am quite new to python... I have no idea how to do the pegging step. |
Get this as
|
Error recently appeared past 48 hours. Wondering if anyone has run into this before and knows what root cause could be. Occurs right after
pm.execute_notebook
.Using Docker container
FROM jupyter/scipy-notebook:latest
The text was updated successfully, but these errors were encountered: