在pytorch中安装labelme打不开,运行端和pycharm都显示如下错误:
QObject::moveToThread: Current thread (0x17bc22fb100) is not the object's thread (0x17bdd5cd240).
Cannot move to target thread (0x17bc22fb100)
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, webgl, windows.
在网上搜索给出的修改是,运行端分别运行
conda uninstall pyqt
pip install PyQt5
pip install opencv-python
虽然conda的时候没有输入y/n,(我去干别的了,没看见),但是他自己跑完了(也不知道卸没卸载),然后接着运行下两行,都显示already,之后再运行labelme就可以打开了。(这。。就很玄学)
记录一下,以免之后再出错。