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

Jupyter-git KF 1.8.0 image: module 'asyncio' has no attribute 'coroutine' #2570

Closed
yingding opened this issue Nov 17, 2023 · 3 comments
Closed

Comments

@yingding
Copy link

While using the Jupyter notebook git with kubeflownotebookswg/jupyter-scipy:v1.8.0 image.
I got Python 3.11+: module 'asyncio' has no attribute 'coroutine'.

It seems to be a know issue jupyterlab/jupyterlab-git#1261 (comment)

@kubeflow-bot kubeflow-bot added this to To Do in Needs Triage Nov 17, 2023
@yingding
Copy link
Author

yingding commented Nov 17, 2023

The workaround is run the following cmd in your notebook cell. Stop and restart the notebook instance.

import sys 
!{sys.executable} -m pip install --upgrade --user jupyterlab==4.0.8
!{sys.executable} -m pip install --upgrade --user pip install jupyterlab-git==0.50.0
!{sys.executable} -m pip install --upgrade --user pip install git+https://github.com/pexpect/pexpect.git@master

It is mentioned in jupyterlab/jupyterlab-git#1245 (comment), and pexpect/pexpect#779, the pexpect lib will be cut soon.
I am not sure if it also works with jupyterlab==3.6.6 and jupyterlab-git==0.44.0 directly with the next pexpect

@juliusvonkohout
Copy link
Member

/close

@yingding please report this in kubeflow/kubeflow

Copy link

@juliusvonkohout: Closing this issue.

In response to this:

/close

@yingding please report this in kubeflow/kubeflow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Needs Triage automation moved this from To Do to Closed Nov 29, 2023
@kubeflow-bot kubeflow-bot removed this from Closed in Needs Triage Nov 29, 2023
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