Closed erwanp closed 11 months ago
Works well with conda install
I get the same Issue with the conda install :(
At the time OP posted the issue, only the previous version was available on Anaconda (not the --pre
one). Now on both pip and conda it's Ryven v3.4.
In the traceback above Python tries to use a PyQt class. Ryven is not compatible with PyQt, it should run on PySide2. Ryven uses qtpy which allows selecting different Qt backends (including PyQt) but Ryven selects the PySide2 backend by default, so if that is not overridden by the user I don't think it's a Ryven issue. You can try to make a new environment and only install Ryven.
I did a fresh environment, I tried it both on Linux and windows as well as with different python versions. Always the same error
Okay I have it set up to always install numpy scipy and matplotlib into my fresh environments because they are essential for me. Turns out installing matplotlib causes the issues. I would be grateful for a solution!
Okay simply setting environment Variable "QT_API" to "PySide2" works !!
in ryven.py
from ryven.gui_env import init_node_guis_env # Qt dependency
comes before
os.environ['QT_API'] = conf.qt_api
which causes the issue. I created a pull request
Ryven doesn't start after install,
After running
in the console
I get :
Windows environnemnt Ryvan installed from pip with
pip install ryven --pre
ryven 3.4.0a2 ryvencore 0.4.0a13 ryvencore-qt 0.4.0a2 QtPy 1.10.0