You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 20.04 is shipped with Python 3.8.2 but the vtk library is not yet available in PyPI for python 3.8 hence it not possible yet to install it using pip. Since vtk is the main dependency of vtkplotter it will not be installed.
The workaround, I found is to install vtk7 using apt package manager:
There is a wheels package available ( vtk-9.0.0-cp38-cp38-linux_x86_64.whl ) on the vtk download site. https://vtk.org/download/ Doesn't that work? (no idea why it is not on pypi yet)
marcomusy
changed the title
A workaround to install vtkplotter in Ubuntu 20.04
A workaround to install vedo in Ubuntu 20.04
Jun 14, 2020
Ubuntu 20.04 is shipped with Python 3.8.2 but the
vtk
library is not yet available in PyPI for python 3.8 hence it not possible yet to install it using pip. Sincevtk
is the main dependency ofvtkplotter
it will not be installed.The workaround, I found is to install
vtk7
usingapt
package manager:clone the
vtkplotter
library:in the file
setup.py
removevtk
from the dependencies. Change the line 15 to the following:Now you can install vtkplotter as follows:
I hope this is helpful.
The text was updated successfully, but these errors were encountered: