Some problems with PyQt5 when running the modelOrderReduction.py #4578
-
|
Hello I have been trying to install the MOR plugin on ubuntu. I have previously installed it succesfully on Windows but right now in ubuntu I am getting some issued when running the modelOrderReduction.py from the tools folder on the plugin. When running phase 1 I get the following message: Then when I check the some of the phase1_snapshots.py I get the following message I am directly using the modelOrderReduction.py provided on the tools folder of the master branch for linux. I am trying to just do the example of the diamondRobot. @VannesteFelix I tried to send you a message about this through the gitter before noticing that we migrated from there. I am very sorry about that. Do you by any chance know what might be the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I forgot to mention that I am running python3.10 on a virtual environment on miniconda. |
Beta Was this translation helpful? Give feedback.
-
|
SOFA binaries have been compilesd with Qt5.12.12. That may be the failure reason. Maybe install Qt5.12.12 in your cnoda env instead of 5.15. |
Beta Was this translation helpful? Give feedback.



Thank you for the help. I removed all instances of qt in my environment but I was still getting the same problem when reinstalling.
I was able to solve the problem by specifying the version of 5.12(I didn't need to do this for 5.15) with:
pip install PyQt5==5.12.2
Got the solution from one of the comments in here: https://stackoverflow.com/questions/56418874/cant-install-pyqt5-using-pip