一、安裝pyinstaller
pip install pyinstaller
二、編譯:
pyinstaller facedetectandsaveimage.py
結果:
自動生成"C:\Users\username\dist\FaceDetectAndSaveImage"文件夾和相關文件(包括exe文件)
注意:
python源碼中盡量不要包含中文,否則需要附加另外的文件。
一、安裝pyinstaller
pip install pyinstaller
二、編譯:
pyinstaller facedetectandsaveimage.py
結果:
自動生成"C:\Users\username\dist\FaceDetectAndSaveImage"文件夾和相關文件(包括exe文件)
注意:
python源碼中盡量不要包含中文,否則需要附加另外的文件。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。