python 編譯EXE檔案
阿新 • • 發佈:2020-07-01
以labelme測試
標註工具labelimg和labelme
矩形標註工具:labelimg
多邊形標準工具:labelme
前者官網釋出了可執行檔案,後者只有python原始碼,如果需要編譯windows exe,可以這樣:
pip install labelme
然後執行labelme確保程式可以正常執行
下載原始碼:
cd D:\github\wkentaro\labelme-3.16.7
pip install .
pip install pyinstaller
pyinstaller labelme.spec
python解決“failed to execute pyi_rth_pkgres”問題
先解除安裝pyinstaller然後在從GitHub上下載安裝
pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
博主通過以上方法解決了問題
————————————————
版權宣告:本文為CSDN博主「半途行走」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處連結及本宣告。
原文連結: https://blog.csdn.net/weixin_41879093/article/details/104216881