labelme
labelme copied to clipboard
QT4 = QT_VERSION[0] == "4" I don't know how to make it work.
(Pytorch) G:\swin\Swin-Transformer-Object-Detection-master\data\instance_segmentation>python labelme2coco.py data_annotated data_dataset_coco --labels labels.txt
Traceback (most recent call last):
File "labelme2coco.py", line 16, in
seems qt
is not installed properly. try conda install qt
or re-create env with conda create -n new_env python=3 qt pyqt pyside2 -y
edit:
correct to conda create -c conda-forge -n new_env python=3.9 qt pyqt pyside2 -y
What worked for me without using conda
:
pip install pyqt5
pip install qtpy
I got the same error. When I tried to run 'labelme' in terminal, this error appear:
Traceback (most recent call last):
File "/usr/bin/labelme", line 33, in
seems
qt
is not installed properly. tryconda install qt
or re-create env withconda create -n new_env python=3 qt pyqt pyside2 -y
In case someone meet the conda pyside2 PackageNotFound error, please add conda-forge channel
conda create -c conda-forge -n new_env python=3 qt pyqt pyside2