vtkpython on Ubuntu Xenial/Bionic

(Ronald Römer) #1

Does VTK 6.2 has a vtkpython executable? I’m trying to find it on Ubuntu Xenial.

$ sudo apt-get install -y libvtk6.2 libvtk6-dev python-vtk6
$ sudo updatedb
$ python -c "import vtk; import sys; print(vtk.VTK_VERSION); print(sys.version_info)"
6.2.0
sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
$ locate vtkpython
/usr/bin/pvtkpython
/usr/lib/tcltk/vtk-6.2/vtkpythoninterpreter
/usr/lib/tcltk/vtk-6.2/vtkpythoninterpreter/vtkpythoninterpreter.tcl
(David Gobbi) #2

The executable might be “vtk6python”.

1 Like
(Ronald Römer) #3

And where is it on Ubuntu Bionic? python3-vtk7 contains these files https://packages.ubuntu.com/bionic/ppc64el/python3-vtk7/filelist

There is no vtkpython and no vtk7python :frowning:

(Ben Boeckel) #4

It probably isn’t necessary since it is system-installed. The logic that vtkpython does (mainly getting import vtk to work) is satisfied by Python’s built-in search paths. pvtkpython does MPI stuff as well, so it makes sense to also exist.