Thanks Everyone.
This whole fiasco started weeks ago with a fresh anaconda
install on a new Windows 10 machine. Naturally I wanted the latest
versions of Python (>3.8), Spyder (5.0), VTK (>9), PyQt5, and Mayavi (>4.7.2)
and I carefully followed all the installation instructions on
The latest VTK wheels are available on all the major platforms (Windows, MacOS, and Linux), but only for 64 bit machines. Python 3.x is fully supported on all these operating systems and Python 2.7.x on MacOS and Linux.
|
But what I've found is that the commands
pip install mayavi
conda install mayavi
etc.
either hang on install or launch errors about compatibility
issues between my version of Python and the
desired versions of VTK and Mayavi.
Before the "Troubles" (Irish) I was happily running
Mayavi (<4.7), vtk (8.0 ish), and Python (<3.8),
and will try to recover the past successes today with a
fresh conda install and downgrades to various packages.
It seems that these compatibility issues are relatively
common reading through the web chats. And what works for one
programmer, doesn't work for another.
Somewhere on the Mayavi installation website, there should be a
note about what versions of Mayavi and VTK will work or won't
work with conda, and directions for the user on how to override
or correct the conda install to get the appropriate version
of Maya.
I have abandoned use of PYTHONPATH as advised and will look
into use of the my_conda_packages.txt
file that Chris described.
Again, I appreciate the help!
Darren