pyqt5打包打了一上午

971 WARNING: lib not found: impi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_intelmpi_lp64.dll
121057 WARNING: lib not found: impi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_intelmpi_ilp64.dll
121140 WARNING: lib not found: msmpi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_msmpi_ilp64.dll
121367 WARNING: lib not found: mpich2mpi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_mpich2_ilp64.dll
121595 WARNING: lib not found: pgf90rtl.dll dependency of g:\anaconda\Library\bin\mkl_pgi_thread.dll
121627 WARNING: lib not found: pgc14.dll dependency of g:\anaconda\Library\bin\mkl_pgi_thread.dll
121656 WARNING: lib not found: pgf90.dll dependency of g:\anaconda\Library\bin\mkl_pgi_thread.dll
122060 WARNING: lib not found: msmpi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_msmpi_lp64.dll
122339 WARNING: lib not found: mpich2mpi.dll dependency of g:\anaconda\Library\bin\mkl_blacs_mpich2_lp64.dll
123076 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtCore.pyd
123123 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtPrintSupport.pyd
123172 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtWidgets.pyd
123215 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtSvg.pyd
123258 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtNetwork.pyd
123307 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages\PySide2\QtGui.pyd
124326 WARNING: lib not found: shiboken2.abi3.dll dependency of g:\anaconda\lib\site-packages

 无法运行exe,我有用tkinter打包就一下打开了

我会继续查找原因,然后添在博客后面

---------------晚上---------------

比较实用的一招:用-c打包,然后拖到cmd里面运行,如果不闪退则表明成功,可以用-F或-D打包了。

lib not found这种错误实在anaconda带的编译器上运行时出现的,我在官网的编译器上没出现这种情况。

把-c编译的exe移到cmd里面运行,发现ImportError: unable to find Qt5Core.dll on PATH。下面的链接有解决办法。https://www.cnblogs.com/aziji/p/12084343.html

感叹:还是用C++编写QT好(其实我不清楚)。python写QT方便但是不好打包。

 

 

 

 

你可能感兴趣的:(GUI)