Closed moorepants closed 2 months ago
Note that I merged the conda forge version of the yeadon package for the latest version this morning.
I tried to install the old version and the figure still doesn't show up:
conda create -n yeadon-test "yeadon<1.5" "numpy<2" pyqt mayavi
This works:
conda create -n yeadon-test yeadon mayavi pyside6
If I make an environment with only yeadon and mayavi then the figure does not show up (uses default mayavi backend)
conda create -n yeadon-test yeadon mayavi
this is grep of "qt":
(yeadon-test) moorepants@nandi:~$ conda list | grep qt
mayavi 4.8.2 pyqt_py312h0377b68_204 conda-forge
pyqt 5.15.9 py312h949fe66_5 conda-forge
pyqt5-sip 12.12.2 py312h30efb56_5 conda-forge
qt-main 5.15.8 ha2b5568_22 conda-forge
But in my base environment the figure does show up in the app and this is the same grep:
moorepants@nandi:~$ conda list | grep qt
aws-c-mqtt 0.10.4 hcc7299c_2 conda-forge
mayavi 4.8.2 pyqt_py311h07046c7_204 conda-forge
pyqt 5.15.9 py311hf0fb5b6_5 conda-forge
pyqt5-sip 12.12.2 py311hb755f60_5 conda-forge
pyqtwebengine 5.15.9 py311hd529140_5 conda-forge
qt-main 5.15.8 hc9dc06e_21 conda-forge
qt-webengine 5.15.8 h3e791b3_6 conda-forge
qt6-main 6.7.2 h402ef58_0 conda-forge
qtawesome 1.3.1 pyh9208f05_0 conda-forge
qtconsole 5.5.2 pyhd8ed1ab_0 conda-forge
qtconsole-base 5.5.2 pyha770c72_0 conda-forge
qtpy 2.4.1 pyhd8ed1ab_0 conda-forge
sphinxcontrib-qthelp 1.0.7 pyhd8ed1ab_0 conda-forge
vtk 9.3.0 qt_py311h1234567_200 conda-forge
vtk-base 9.3.0 qt_py311h1234567_200 conda-forge
vtk-io-ffmpeg 9.3.0 qt_py311h1234567_200 conda-forge
It seems that something is not being installed in the environment with only yeadon and mayvi but it is somehow present in my base environment where I have yeadon installed.
Maybe qt6-main
is missing in the environment?
conda create -n yeadon-test yeadon mayavi qt6-main
did not fix it:
It seems to be because vtk is missing. This gives a working app:
conda create -n yeadon-test yeadon mayavi vtk
So, why isn't vtk installed with mayavi?
For some reason conda was installing the osmesa
version of vtk instead of the q
version. See: https://github.com/conda-forge/mayavi-feedstock/issues/85
This is fixed here:
https://github.com/conda-forge/mayavi-feedstock/pull/86
So now yeadon works again with conda create -n yeadon-test yeadon mayavi vtk
.
When I made the last recent release the app was working. But something recent has broken that. Installing with:
Gives:
Conda list: