pyinstaller打包後numpy報錯

直接運行時候不報錯,打包好了運行報錯

ImportError:
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: DLL load failed: Module not found.

解決辦法是下載numpy-mkl版並安裝

https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

歡迎關注www.huarenlab.com

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章