install pyinstaller
生活随笔
收集整理的這篇文章主要介紹了
install pyinstaller
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1. 打開?anaconda prompt
2.安裝pyInstaller
pip install pyinstaller
3.將cmd的目錄切換至需要打包的py文件目錄下
4. pyinstaller -F -c test.py(主程序)
?
常用參數(shù)說明:
–icon=圖標(biāo)路徑
-F 打包成一個(gè)exe文件
-w 使用窗口,無控制臺(tái)
-c 使用控制臺(tái),無窗口
-D 創(chuàng)建一個(gè)目錄,里面包含exe以及其他一些依賴性文件
pyinstaller -h 來查看參數(shù)
轉(zhuǎn)載于:https://www.cnblogs.com/xuyuchen/p/8525954.html
總結(jié)
以上是生活随笔為你收集整理的install pyinstaller的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: scrapy---Logging
- 下一篇: bzoj 4443 [Scoi2015]