# How to use python 3 with pvpython

**URL:** https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215
**Category:** ParaView Support
**Tags:** python
**Created:** [March 18, 2022, 2:17am UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215 "2022-03-18T02:17:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ying](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/fbc32d/32.png) [@Ying](https://discourse.paraview.org/u/Ying)
#### Post date: [March 18, 2022, 2:17am UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215/1 "2022-03-18T02:17:57Z")

</div>

Hi all,

pvpython is a python interface to paraview, is it possible to change the python version when using pvpython, like from python 2 to python 3?

I use Ubuntu 18.04 + Paraview 5.0.1.

Thanks!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [March 18, 2022, 12:55pm UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215/2 "2022-03-18T12:55:54Z")

</div>

It is not possible because ParaView links against Python 2 and Python 3 libraries are not at all compatible with Python 2 library.

Python 3 support is available starting with ParaView 5.7 binaries on [www.paraview.org/download](http://www.paraview.org/download).

---

<div class="post-metadata">

### Author: ![Ying](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/fbc32d/32.png) [@Ying](https://discourse.paraview.org/u/Ying)
#### Post date: [March 18, 2022, 2:30pm UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215/3 "2022-03-18T14:30:34Z")

</div>

Thanks for your reply! Is it possible to upgrade my current paraview (5.0.1) to a higher version, like 5.7 in Ubuntu, rather than uninstall the current version and then install a new version?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [March 18, 2022, 2:58pm UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215/4 "2022-03-18T14:58:52Z")

</div>

ParaView itself doesn’t provide any facilities to do that.

---

<div class="post-metadata">

### Author: ![Ying](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/fbc32d/32.png) [@Ying](https://discourse.paraview.org/u/Ying)
#### Post date: [March 18, 2022, 3:21pm UTC](https://discourse.paraview.org/t/how-to-use-python-3-with-pvpython/9215/5 "2022-03-18T15:21:27Z")

</div>

Thanks!
