tianyikillua / paraview-meshio

Generic mesh reader / writer for ParaView
MIT License
25 stars 5 forks source link

Change the default python interpreter in Paraview #1

Closed s1291 closed 4 years ago

s1291 commented 4 years ago

I am running Paraview 5.6.2 on Windows. In order to setup your plugin I need to set the default Python interpreter in Paraview (Currently it is using python 2.7.15): paraview-python-interpreter How to set Python3 as the default python interpreter? Thanks

tianyikillua commented 4 years ago

I suggest downloading the latest 5.7.0 version for Windows, which includes (finally) Python 3.7.

Otherwise you'll need to compile yourself ParaView with your own Python 3. Good luck!

s1291 commented 4 years ago

@tianyikillua : Thank you, I was about to edit the post because I am downloading the last version 5.7. Thanks

s1291 commented 4 years ago

@tianyikillua : I have installed Paraview 5.7. Fortunately it works as expected! Surprisingly it opens also the *.med files that I reported in this issue.

tianyikillua commented 4 years ago

...So I suppose you also installed the h5py library into ParaView right? Anyway great news!

s1291 commented 4 years ago

Yes, I copied meshio, h5py and netCDF4 modules to C:\Program Files\ParaView 5.7.0-MPI-Windows-Python3.7-msvc2015-64bit\bin\Lib\site-packages\