There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Gevent Fails to Import in PTVS 2.1 Beta
VS 2010 with PTVS 2.1 Beta and Python 2.7.
I get an "ImportError: No module named greenlet" when I execute my Flask Web Project. The error is related to the "import greenlet" statement in gevent's hub.py. I've installed and reinstalled both gevent and greenlet in several locations:
Python27\Lib\site-packages, Python27\Lib, and in the Python Environments "env\Lib" folder associated with the project. Moving greenlet.py out of gevent folder resolves the issue in hub.py, but then the error occurs in greenlet.py's "from gevent.hub
Notably, I do not have any issues with the same import statement ("import gevent") in IDLE.
Any help or suggestions are greatly appreciated.