# vtkpython on Ubuntu Xenial/Bionic

**URL:** https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292
**Category:** Development
**Created:** [July 6, 2019, 12:08pm UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292 "2019-07-06T12:08:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ron84](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ron84/32/630_2.png) [@Ron84](https://discourse.vtk.org/u/Ron84)
#### Post date: [July 6, 2019, 12:08pm UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292/1 "2019-07-06T12:08:03Z")

</div>

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
```

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [July 6, 2019, 2:07pm UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292/2 "2019-07-06T14:07:17Z")

</div>

The executable might be “vtk6python”.

---

<div class="post-metadata">

### Author: ![Ron84](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ron84/32/630_2.png) [@Ron84](https://discourse.vtk.org/u/Ron84)
#### Post date: [July 6, 2019, 11:45pm UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292/3 "2019-07-06T23:45:04Z")

</div>

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

There is no vtkpython and no vtk7python ☹

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [July 8, 2019, 10:45am UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292/4 "2019-07-08T10:45:19Z")

</div>

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.
