我在尝试启动 Flask-GEvent 应用程序时遇到了以下错误。
我的操作系统 - W7 64 位
C:\Users\raghul\workspace\test>python run.py
Traceback (most recent call last):
File "run.py", line 1, in <module>
from views import app
File "C:\Users\raghul\workspace\test\views.py", line 4, in <module>
from socketio import socketio_manage
File "C:\Python27\lib\site-packages\socketio\__init__.py", line 4, in <module>
from socketio.server import SocketIOServer
File "C:\Python27\lib\site-packages\socketio\server.py", line 4, in <module>
import gevent
File "C:\Python27\lib\site-packages\gevent\__init__.py", line 40, in <module>
from gevent import core
ImportError: DLL load failed: %1 is not a valid Win32 application.
非常感谢任何帮助。