ParaView python3 support

python

(Trophime) #1

Hi,
I would like to have some precisions about the support of Python3 in ParaView.
In some docs it is said that current ParaView supports python 3.5.
Which python3 versions are actually supported?

Next I would like if there is a simple way to rebuild only the “python part”
for each python3 version including also python2 within having to recompile
all paraview?

Best
C


(Mathieu Westphal) #2

Unless specific needs, I would suggest the last version, ie Python 3.7.

There is no simple way to rebuild, but is is doable though.

  • Edit CMakeCache.txt
  • Remove all python releated variables except for PYTHON_EXECUTABLE
  • Set PYTHON_EXECUTABLE to the correct value
  • configure, generate, build.