keplr-io / quiver

Interactive convnet features visualization for Keras
https://keplr-io.github.io/quiver/
MIT License
1.75k stars 223 forks source link

when I import server, there comes the error, no module named 'gevent.wsgi' #71

Closed cherrylawrence closed 6 years ago

cherrylawrence commented 6 years ago

from quiver_engine import server

ImportError Traceback (most recent call last)

in () ----> 1 from quiver_engine import server ~\Anaconda3\envs\tensorflow\lib\site-packages\quiver_engine\server.py in () 11 from flask_cors import CORS 12 ---> 13 from gevent.wsgi import WSGIServer 14 15 from quiver_engine.util import ( ImportError: No module named 'gevent.wsgi'
jakebian commented 6 years ago

Try (re)installing gevent?

jmgo commented 6 years ago

I had the same problem and I fixed by changing

from gevent.wsgi import WSGIServer to from gevent.pywsgi import WSGIServer

jakebian commented 6 years ago

Should be fixed by the newly merged PR

jakebian commented 6 years ago

https://github.com/keplr-io/quiver/pull/72