labelme installation tutorial

Labelme installation tutorial, countless mining pits!

labelme installation tutorial


Installation of labelme

(Based on anaconda+windows, my python version is 3.8.8)

Step 1: Check your python version

Open your Anaconda Prompt

enter:

python -v

insert image description here

second step

Create anaconda virtual environment labelme, the corresponding version should be output, here my python version number is python3.8.8

conda create --name=labelme python=3.8

insert image description here

third step

Activate the environment

conda activate labelme

After executing this step, the operating environment is transferred to labelme
insert image description here

the fourth step

The dependent environment required to install labelme

conda install pyqt

It should be installed like this
insert image description here

the fifth step

Install labelme

I have made countless pits here and finally found a solution. At this step, you must pay attention to the installed version number, otherwise the installation will fail. At the beginning, I entered this command: conda install labelme=3.16.2, but this appeared Problem
insert image description here
Finally I found a solution, I should enter a command like this in the terminal:

pip install labelme==3.16.2

Installed should look like this:
insert image description here

step six

Enter labelme in the window just installed to open labelme

insert image description here
insert image description here

The installation is complete

Reference:
https://blog.csdn.net/weixin_43427721

Guess you like

Origin blog.csdn.net/AKxiaokui/article/details/124943218