天天看點

pyinstaller打包exe檔案,no found dllpyinstaller打包exe檔案,no found dll

pyinstaller打包exe檔案,no found dll

pyinstaller打包exe檔案時出現了好多no found各種dll,我在網上查了好久都沒解決:

最終我親身實踐,找了的方法:

在64位的win10上,裝32位的python-3.6.4.exe  (最好把原來的高版本uninstall了)

在這裡下載下傳: https://www.python.org/downloads/windows/

pyinstaller打包exe檔案,no found dllpyinstaller打包exe檔案,no found dll

然後在安裝pyinstaller,

在cmd指令行界面:pip install pyinstaller

現在就可以在,在cmd指令行的程式所在目錄中打包了:

pyinstaller -F xxx.py (xxx為檔案名)

後記:

這個方法看起來很low,但真的有用……