Open dsche-cyber opened 3 years ago
I solved the Issue for me, but still I think the code needs to be updated, as the exception handling still fails for old traits version.
To fix my Issue I followed the suggestion in Issue #940: https://github.com/enthought/mayavi/issues/940#issuecomment-726399486
So I have now vtk9.0.1-3 from the AUR and installed mayavi-4.7.3dev0 from source.
Further the problem lies in the arch repo packages of traits and traitsui as these are too old (vtk9 seems to be needed by python3.8> and so mayavi-4.7.2> is needed, so the traits packages in the repos do not fit to these newer packages).
To update those I needed to remove other packages too, as it was breaking dependencies:
sudo pacman -R python-traits python-apptools python-envisage python-pyface
Now to update traits:
sudo pip install -U traits traitsui
Then install the packages that were removed before:
sudo pacman -S python-apptools python-envisage python-pyface
Note: I do not know, if those package are required for building other packages under arch, if so it is probably a good idea not to mix pacman and pip installed packages, so alternatively use:
sudo pip install -U apptools envisage pyface
Now it works.
After calling python and importing mlab from mayavi, results in error, making mayavi unusable.
Error stack: