python 使用pyinstaller打包 ,代码中导入了eel ,有报错信息 5C
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个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!