我想使用pyinstaller創建我的python腳本的.exe文件。創建成功的exe文件,但是當我嘗試運行它,CMD給出了錯誤:使用pyinstaller創建的exe無法執行
Import Error: Astropy requires the 'six' module of minimum version 1.10; normally this is bundled with the astropy package so if you get this warning consult the packager of your Astropy distribution. Failed to execute script MARK1
我已經安裝了Astropy v1.33中。
已經有多個關於這個問題;例如https://stackoverflow.com/questions/29052982/python-compiling-astropy-with-pyinstaller – Iguananaut