Under ubuntu, it is very simple, just need the following two commands
sudo apt install python3-pyqt5
pip install labelme
sudo apt install labelme
After restarting the system (note that if the labelme is not restarted, there will be an error after running and cannot be used), enter it on the command line, and run it.
labelme