How to use python 3 with pvpython

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!

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.

1 Like

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?

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

Thanks!