1.qt库冲突的问题:
1
2
3
|
You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
QObject::moveToThread: Current thread (0x7ff56d74feb0) is not the object's thread (0x7ff570dfec60).
Cannot move to target thread (0x7ff56d74feb0)
|
运行conda环境下opencv时遇到的,查了一下大概是需要卸载了opencv-python后再安装一下opencv-python-headless的版本
1
2
|
pip uninstall opencv-python
pip install opencv-python-headless
|
安装时长不够就用:
1
|
pip install --default-timeout=50000 opencv-python-headless
|
参考:
https://www.pythonheidong.com/blog/article/410902/