# **Labelimg install** ###### tags: `功能` ## 1. 到github下載labelimg https://github.com/tzutalin/labelImg --- ## 2. 確認python3是否安裝 * 在命令提示字元打上下列指令 ``` python3 -V ```  ### **windows install** [下載網址](https://www.python.org/downloads/windows/)  選3.7的版本,並照步驟安裝。 別忘了加入環境變數 ``` your_path/python37 your_path/python37/Scripts ``` ### **linux install** ``` $ sudo apt-get update $ sudo apt-get install python3.6 ``` --- ## 3. 相關套件安裝 **都在CMD內執行**  * 下載PyQt5 ``` pip3 install PyQt5 --user ``` 在**labelimg.py**的位置執行 ``` pyrcc5 -o resources.py resources.qrc ```  * 下載lxml ``` pip3 install lxml --user ``` --- ## 4. 執行 在**labelimg.py**的位置執行 ``` python3 labelImg.py ``` --- ## Linux 執行+安裝 在labelimg.py的位置打開cmd ``` sudo apt-get install pyqt5-dev-tools sudo pip3 install -r requirements/requirements-linux-python3.txt make qt5py3 python3 labelImg.py ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up