I am trying to import the paraview.simple
module from Paraview 5.2 into the new Python 3.6.2 using IDLE. Unfortunately it appears this module is using the old print
statement as suggested by this error message:
>>> import paraview.simple
Traceback (most recent call last):
File "<pyshell#50>", line 1, in <module>
import paraview.simple
File "C:\Program Files\ParaView 5.0.1\lib\paraview-5.0\site-packages\paraview\__init__.py", line 129
print text
^
SyntaxError: Missing parentheses in call to 'print'
I really want to use this version of python? There are other modules I wish to use alongside paraview.simple which are only compatible with the latest version of python. How can I circumvent this minor print issue and import the modules I need?