Hello,
I am using ParaView-4.2.0-Linux-64bit-gl on  Kubuntu 12.04. . I have some
python scripts that create pictures and it is working fine.

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:

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/:


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\;

But when i try 'from paraview.simple import *'
i get the following error:

Error: Could not import vtkCommonComputationalGeometryPython
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\
simple.py", line 39, in <module>
    import servermanager
  File
"P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\
servermanager.py", line 48, in <module>
    import paraview, re, os, os.path, new, sys, atexit, vtk
  File
"P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\
vtk\__init__.py", line 7, in <module>
    from vtkCommonCorePython import *
ImportError: DLL load failed: The modul could not be found. (German: Das
angegebene Modul wurde nicht gefunden.)

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?

Jonas
_______________________________________________
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

Reply via email to