Maintainers: @chuckatkins @danlipsa
It appears vtk restructured their python bindings starting 8.2.0 (https://blog.kitware.com/vtk-8-2-0/). However, this change is apparently not reflected in spack, and therefore, I am not getting the correct PYTHONPATH.
Steps to reproduce the issue
I can install version 8.2.0 successfully, and it puts python bindings in lib64. Upon loading the package, spack puts lib in the PYTHONPATH, and I cannot import the python package.
$ spack install vtk@8.2.0 +python # i installed with +mpi+osmesa, but that should not matter here
$ spack cd -i vtk@8.2.0
$ ls lib/python3.7/site-packages/ # returns empty
$ ls lib64/python3.7/site-packages/
vtk.py vtkmodules
$ spack load -r vtk@8.2.0
$ echo $PYTHONPATH
$SPACK_ROOT/opt/spack/linux-rhel7-broadwell/gcc-7.3.0/vtk-8.2.0-75xr5zuecmun6av2rmgbrzjammyh62sz/lib/python3.7/site-packages: .....
Here is the behavior for vtk@8.1.2 (works correctly)
$ spack install vtk@8.1.2 +python # i installed with +mpi+osmesa, but that should not matter here
$ spack cd -i vtk@8.1.2
$ ls lib/python3.7/site-packages/
vtk # python package
$ ls lib64/python3.7/site-packages/ # does not exist
$ spack load -r vtk@8.1.2
$ echo $PYTHONPATH
$SPACK_ROOT/opt/spack/linux-rhel7-broadwell/gcc-7.3.0/vtk-8.1.2-6emg5zldy6rw5qgcf33x7s3unh55s6z6/lib/python3.7/site-packages: ....
Information on your system
Tried this on linux-rhel7-broadwell architecture.
General information
Maintainers: @chuckatkins @danlipsa
It appears
vtkrestructured their python bindings starting8.2.0(https://blog.kitware.com/vtk-8-2-0/). However, this change is apparently not reflected inspack, and therefore, I am not getting the correctPYTHONPATH.Steps to reproduce the issue
I can install version
8.2.0successfully, and it puts python bindings inlib64. Upon loading the package,spackputslibin thePYTHONPATH, and I cannot import the python package.Here is the behavior for
vtk@8.1.2(works correctly)Information on your system
Tried this on
linux-rhel7-broadwellarchitecture.General information
spack debug reportand reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>and @mentioned any maintainers