After I’ve installed openmc-plotter, and I try to run it, I get this runtime error (below). Looks like there’s a conflict between PySide2’s Qt libraries (which was installed as part of the openmc-plotter’s dependencies) and another Qt lib (which was already installed in my conda env).
Note that I installed openmc-plotter with pip (as per the repo’s instructions), whereas I install everything else with conda. I thought that the two were interoperable, but I’m wondering if pip didn’t resolve the dependencies here ?
objc[79130]: Class QMacAutoReleasePoolTracker is implemented in both /Users/ronald/miniconda3/lib/python3.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x1114ed0f8) and /Users/ronald/miniconda3/lib/libQt5Core.5.12.9.dylib (0x1a1d62b538). One of the two will be used. Which one is undefined.
objc[79130]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Users/ronald/miniconda3/lib/python3.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x1114ed170) and /Users/ronald/miniconda3/lib/libQt5Core.5.12.9.dylib (0x1a1d62b5b0). One of the two will be used. Which one is undefined.
objc[79130]: Class KeyValueObserver is implemented in both /Users/ronald/miniconda3/lib/python3.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x1114ed198) and /Users/ronald/miniconda3/lib/libQt5Core.5.12.9.dylib (0x1a1d62b5d8). One of the two will be used. Which one is undefined.
objc[79130]: Class RunLoopModeTracker is implemented in both /Users/ronald/miniconda3/lib/python3.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x1114ed1e8) and /Users/ronald/miniconda3/lib/libQt5Core.5.12.9.dylib (0x1a1d62b628). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7ffc7af0fca0) is not the object's thread (0x7ffc7ac8b8c0).
Cannot move to target thread (0x7ffc7af0fca0)
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.
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" 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: cocoa, minimal, offscreen, webgl.