On Fri, May 01, 2015 at 14:32:40 +0200, Jonas Asche wrote: > Now i want to use those scripts on Windows 7 64bit. I downloaded > ParaView-4.2.0-Windows-64bit > and changed PythonPath and Path variable as described in this > <http://www.paraview.org/Wiki/ParaView/Python_Scripting>article:
Are you running python or pvpython? > On Linux i have the following settings (i set them in .bashrc): > PYTHONPATH: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/vtk/: > LD_LIBRARY_PATH: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/: I assume this is working? > Now i set Pythonpath in Windows to: > (python location); > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\vtk\; > And path to > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\; I think this is supposed to be 'bin', not 'lib\paraview-4.2' since the DLL files live there on Windows. > I guess i am not using the proper path (i tried a whole bunch of different > paths), can you send me a path that is working for you? Using 'bin' seems to work here. --Ben _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview