First time poster here. Let me know if this isn’t the correct section for my issue…
I am on Windows 10 64-bit using Python 3.7 and Anaconda. I’ve installed vtk v8.2.0 from the conda-forge channel on Anaconda and I’m receiving the following error:
I’ve had this problem before which I solved somehow but I can’t remember how. I’ve also installed VTK on many different machines and none of them have experienced this problem.
Looking for direction for how to trace this problem, assuming I need to check that the correct DLL is being loaded for vtkIOExodus.
DLL load indicates that the directory with the dll is not included in the PATH environment variable. Please try this: find out where Conda installed the vtk .dlls, and add it to your path.
Then after conda env create, import vtk raised the same “ModuleNotFoundError: No module named ‘vtkIOExodusPython’” error. (And commenting out the h5py requirement fixed the problem.)
The weird thing is that conda create python=3.7 vtk=8.2.0 h5py=3.1.0 worked fine. Inspecting the two different environments, there were a couple of minor differenences in the h5py dependencies installed. I modified the environment file to pin the packages to match the working environment: