docker image: no module named 'gevent.wsgi'
See original GitHub issueIssue Description
$ docker run -it --rm -p 9004:9004 coleifer/scout
Traceback (most recent call last):
File "/srv/server.py", line 14, in <module>
from gevent.wsgi import WSGIServer
ModuleNotFoundError: No module named 'gevent.wsgi'
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'gevent.wsgi'
Try using: from gevent.pywsgi import WSGIServer. Instead of: from gevent.wsgi import WSGIServer.
Read more >How to use Flask with gevent (uWSGI and Gunicorn editions)
Deploy Flask application using gevent.pywsgi ... The fastest way to unleash the power of gevent is to use its built-in WSGI-server called gevent....
Read more >deploying django 'No module named 'app_name'' - Reddit
hello. i'm trying to deploy my django application and when I run gunicorn, i get an importerror exception on one of my apps....
Read more >WSGI Servers - Full Stack Python
A Web Server Gateway Interface (WSGI) server runs Python code to create a web application. Learn more about WSGI servers on Full Stack...
Read more >Python - ModuleNotFoundError: No module named 'Image'
imageimage-processingocrpython. I am getting the following error: ModuleNotFoundError: No module named 'Image'. while running the below script for OCR:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ahh! Thanks, I appreciate you pointing that out. I’ve pushed a new image and committed changes as well so it should be working.
The code try to import
WSGIServer
fromgevent.wsgi
module , but gevent’s docs say thatWSGIServer
is ingevent.pywsgi
moduleand indeed: