小编Pet*_*nek的帖子

使用pyinstaller后执行编译文件"没有名为'scipy._lib.messagestream'的模块'时出错

我试图在从python 2.7升级到3.6并同时移动到scipy 1.0.0之后使用pyinstaller编译我们的代码https://bitbucket.org/OES_muni/massiveoes.我正在研究64位win7机器.程序本身运行正常,pyinstaller运行没有错误但是当我尝试运行构建exe文件时它给了我这个错误:

Traceback (most recent call last):   File "massiveOES\GUI.py", line 23, in <module>   File "c:\users\petr\envs\py1\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)   File "massiveOES\__init__.py", line 1, in <module>   File "c:\users\petr\envs\py1\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)   File "massiveOES\FHRSpectra.py", line 1, in <module>   File "c:\users\petr\envs\py1\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)   File "massiveOES\spectrum.py", line 3, in <module>   File "c:\users\petr\envs\py1\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)   File "site-packages\scipy\optimize\__init__.py", line 241, in <module>   File "c:\users\petr\envs\py1\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module …
Run Code Online (Sandbox Code Playgroud)

python pyinstaller scipy

10
推荐指数
1
解决办法
6509
查看次数

标签 统计

pyinstaller ×1

python ×1

scipy ×1