Error when executing compiled file “ No module named 'scipy._lib.messagestream' ”after using pyinstaller

前端 未结 1 1618
我寻月下人不归
我寻月下人不归 2021-01-17 15:51

i am trying to complile our code https://bitbucket.org/OES_muni/massiveoes using pyinstaller after upgrading from python 2.7 to 3.6 and moving to scipy 1.0.

相关标签:
1条回答
  • 2021-01-17 16:27

    OK, the following solved the immediate issue for me: edit the pyinstaller .spec file to add the following hidden import with Scipy:

     hiddenimports=['scipy._lib.messagestream']
    

    See my question for more.

    0 讨论(0)
提交回复
热议问题