我安装了gevent,但是当我尝试使用gevent启动服务器时,它会显示导入错误,如下所示:
C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\openerp-server --gevent
Traceback (most recent call last):
File "openerp-server", line 5, in <module>
File "C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\.\openerp\cli
\__init__.py", line 60, in main
o.run(args)
File "C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\.\openerp\cli
\server.py", line 281, in run
main(args)
File "C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\.\openerp\cli
\server.py", line 226, in main
import gevent
File "C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\.\gevent\__in
it__.py", line 35, in <module>
from gevent.hub import get_hub, iwait, wait
File "C:\Program Files\OpenERP 7.0-20140118-002423\Server\server\.\gevent\hub.
py", line 8, in <module>
import greenlet # http://pypi.python.org/pypi/greenlet/
ImportError: No module named greenlet