Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A workaround to install vedo in Ubuntu 20.04 #152

Closed
s1291 opened this issue May 20, 2020 · 2 comments
Closed

A workaround to install vedo in Ubuntu 20.04 #152

s1291 opened this issue May 20, 2020 · 2 comments

Comments

@s1291
Copy link

s1291 commented May 20, 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. 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:

sudo apt install python3-vtk7

clone the vtkplotter library:

git clone https://github.com/marcomusy/vtkplotter.git

in the file setup.py removevtkfrom the dependencies. Change the line 15 to the following:

install_requires=[],

Now you can install vtkplotter as follows:

python setup.py install

I hope this is helpful.

@marcomusy
Copy link
Owner

marcomusy commented May 20, 2020

Actually vtkplotter is in the debian repository!
So if you do
sudo apt install python3-vtkplotter
you should get version 2020.2.0 along with vtk7

(i never tested it)

https://packages.ubuntu.com/source/focal/vtkplotter

@RubendeBruin
Copy link
Contributor

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants