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

Ryu import error #143

Open
RanaZubair opened this issue Jun 3, 2021 · 1 comment
Open

Ryu import error #143

RanaZubair opened this issue Jun 3, 2021 · 1 comment

Comments

@RanaZubair
Copy link

I have ubuntu 16.04 with virtualenv setup. When I try to run 12.py sample file ryu-manger giver following errors.

File "/home/user/ryu_project/bin/ryu-manager", line 5, in
from ryu.cmd.manager import main
File "/home/user/ryu_project/lib/python3.6/site-packages/ryu/cmd/manager.py", line 33, in
from ryu.app import wsgi
File "/home/zubair/projects/ryu2/lib/python3.6/site-packages/ryu/app/wsgi.py", line 109, in

I think I have import error for main and wsgi. How this problem will be resolved.

@JiasenLee
Copy link

I also met the same error recently. It seems like that you had installed the incompatible version of eventlet. I googled the error and the answer from stackoverflow may help you. Here is the question and answers Gunicorn ImportError: cannot import name 'ALREADY_HANDLED' from 'eventlet.wsgi' in docker

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