將Python程序生成Windows可執行文件/不顯示命令執行窗口/無法生成exe報錯TypeError: an integer is required (got type bytes)解決方法

使用pyinstaller 安裝命令: pip install pyinstaller 或者 pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz 推薦使用第二種: 因爲我剛開始用第一種方法安裝的,然後在生成exe文件的時候出現了錯誤(如果出現這個錯誤,刪除舊版本使用第二條語句安裝即可) 安裝完成
相關文章
相關標籤/搜索