导入错误:没有名为greenlet的模块

时间:2014-03-28 06:32:51

标签: python-2.7 openerp-7

我安装了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

0 个答案:

没有答案