971 warning: lib not found: impi.dll dependency of g:\anaconda\library\bin\mkl_blacs_intelmpi_lp64.dll無法執行exe,我有用tkinter打包就一下開啟了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
我會繼續查詢原因,然後添在部落格後面
---------------晚上---------------
比較實用的一招:用-c打包,然後拖到cmd裡面執行,如果不閃退則表明成功,可以用-f或-d打包了。
lib not found這種錯誤實在anaconda帶的編譯器上執行時出現的,我在官網的編譯器上沒出現這種情況。
把-c編譯的exe移到cmd裡面執行,發現importerror: unable to find qt5core.dll on path。下面的鏈結有解決辦法。
感嘆:還是用c++編寫qt好(其實我不清楚)。python寫qt方便但是不好打包。
PyQT5使用pyinstaller打包Mac應用
pip3 install pyinstaller在終端中cd 到專案路徑,也就是main函式所在檔案main.py,切換完成後依次輸入下面命令 sudo pyinstaller windowed onefile clean noconfirm main.py sudo pyinstaller cle...
pyqt5打包exe出現的幾個問題
首先,我是用解除安裝了原來的pyinstaller3.6 安裝了新的pip install 這樣在自己電腦執行就基本沒問題了,有問題就看看是不是軟體有bug或者相關的資料檔案路徑是否正確,是否放入到dist中。其次,在別人的電腦執行時又出現同樣的報錯,這時候是在打包的時候加上自己的pyqt5 qt ...
pyqt5切換python版本 pyqt5介面切換
主要的思路就是建立兩個frame 如果有兩個以上同理 使用setvisible 函式顯示或者隱藏frame 引數是bool值 import sys from pyqt5.qtwidgets import from pyqt5.qtcore import from pyqt5.qtgui import...