You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new conda environment to install the plotter (two actually, see below) and both fail to launch the plotter (two different errors). In each case below, I mamba install openmc and pip install -e the plotter source.
First attempt: I created a new environment from the default conda base env
The above install steps work. But then trying to launch the plotter (from the test/setup_test/ dir) gives this error:
>> openmc-plotter
objc[23633]: Class RunLoopModeTracker is implemented in both /Users/kkiesling/opt/anaconda3/envs/test_plotter/lib/python3.9/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x1140ae288) and /Users/kkiesling/opt/anaconda3/envs/test_plotter/lib/libQt5Core.5.9.7.dylib (0x14420aa80). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x6000022b6f40) is not the object's thread (0x6000022bc050).
Cannot move to target thread (0x6000022b6f40)
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.
Abort trap: 6
Again, installs fine, but then launching the plotter doesn't work. It doesn't actually give any error or stop, it just hangs indefinitely and the doing ctrl + c over and over again doesn't do anything to kill the process.
In the first attempt, note that there are both Qt-related packages in both the conda list and pip list. I think that if it exists in the conda env already, we need to use that. But it's not clear to me if there is an easy way to detect that. I did try to uninstall things via pip or conda here, but that just led to more issues.
In the second attempt from an empty environment, I am not sure what is causing the hang up. Qt-related packages do not appear in either list, except that PySide2 is in both (though conda indicates its from pip, so it should be the same package in each).
The text was updated successfully, but these errors were encountered:
I know that pip and conda don't necessarily play nice, but it would be good to try to install this separately from my default system environment because I want to use specific openmc installs.
Okay so actually this may be resolved by creating a blank environment not even with python to start (ie same as the second attempt above, but create new env with conda create --name openmc-plotter-dev --no-default-packages instead).
I'll leave this open in case anyone wants to comment on the failure in the first attempt above with the duplicate Qt binaries error.
I created a new conda environment to install the plotter (two actually, see below) and both fail to launch the plotter (two different errors). In each case below, I mamba install openmc and pip install -e the plotter source.
First attempt: I created a new environment from the default conda
base
envThe above install steps work. But then trying to launch the plotter (from the
test/setup_test/
dir) gives this error:Install/env info:
conda packages
pip packages
Second Attempt: create empty python-only conda env and install from there
Again, installs fine, but then launching the plotter doesn't work. It doesn't actually give any error or stop, it just hangs indefinitely and the doing
ctrl + c
over and over again doesn't do anything to kill the process.env info
conda packages
pip packages
Notes/thoughts:
In the first attempt, note that there are both Qt-related packages in both the conda list and pip list. I think that if it exists in the conda env already, we need to use that. But it's not clear to me if there is an easy way to detect that. I did try to uninstall things via pip or conda here, but that just led to more issues.
In the second attempt from an empty environment, I am not sure what is causing the hang up. Qt-related packages do not appear in either list, except that PySide2 is in both (though conda indicates its from pip, so it should be the same package in each).
The text was updated successfully, but these errors were encountered: