I know that VTK is now available as a wheel in PyPI (https://pypi.python.org/pypi/vtk/8.1.0) but I am not able to install it. Is there a way around this?
When I try this is what I get:
$ pip install vtk
Collecting vtk
Could not find a version that satisfies the requirement vtk (from versions: )
No matching distribution found for vtk
I have tried pointing to the wheel's URL but still the same problem.
$ pip install https://pypi.python.org/packages/13/7f/735fbc0dd78c91ad3693cfdfe5c91603899fc8e24909f935d46d2fde6559/vtk-8.1.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=49c8d620b2affe2dc2284048659115e5
vtk-8.1.0-cp27-cp27mu-manylinux1_x86_64.whl is not a supported wheel on this platform.
Here is my platform information:
$ uname -a
Linux [hostname-withheld] 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
So the problem has to do with the fact that the wheel files have the text 'manylinux1'.
First, find out which platforms
pip
checks for. You can do this using a handy feature inpip
(found on https://github.com/tensorflow/tensorflow/issues/9722):The first result shows that we should swap the 'manylinux1' with simply 'linux':
Rename using a symbollic link:
Now install:
That should fix it!