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