Closed mavavilj closed 1 year ago
The problem seems related to not using Python 3.6.x, but 3.9.x.
I created an environment in Anaconda with 3.6.15 and pointed pyenv to that one.
Problem seems fixed.
Thanks for reporting the issue. There are plans to update the Python version from 3.6 (#198), but the version update introduces issues such as this that need to be addressed first.
I think the root cause here is that Pipfile locks certain modules' versions, including PyQt5. After updating the modules and fixing a few things (matplotlib.backends.backend_qt4agg
-> matplotlib.backends.backend_qt5agg
and adding a cast to float in GUIReporter.__init__.__update_func()
), I could start Potku on Python 3.10, but at least MCERD didn't work.
Closing outdated issue. Python has been upgraded to 3.10, libraries locked and MCERD is working.
I was following the instructions:
https://github.com/JYU-IBA/potku#getting-started-with-development
and I followed them up to:
python run_potku.py
which gives
ModuleNotFoundError: No module named 'PyQt5'
However, now when trying to get PyQt5 in the environment I've just created:
Even though I have: