baidu_30018937
baidu_30018937
采纳率28.6%
2018-12-14 12:10 阅读 1.2k

python 使用pyinstaller打包 ,代码中导入了eel ,有报错信息

5
Traceback (most recent call last):
  File "<string>", line 7, in <module>
  File "d:\python2.7.13\lib\site-packages\PyInstaller-3.1.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\eel\__init__.py", line 2, in <module>
  File "d:\python2.7.13\lib\site-packages\PyInstaller-3.1.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\gevent\__init__.py", line 87, in <module>
  File "d:\python2.7.13\lib\site-packages\PyInstaller-3.1.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\gevent\_hub_local.py", line 101, in <module>
  File "site-packages\gevent\_util.py", line 105, in import_c_accel
  File "importlib\__init__.py", line 37, in import_module
ImportError: No module named __hub_local
test returned -1
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

相关推荐