I am not a python specialist hence I can't understand where is the problem, 
since all environment variables seem to be ok:

Macintosh-2:Python$ python myscript.py 
Traceback (most recent call last):
  File "myscript.py", line 1, in <module>
    from paraview.simple import *
  File "/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/simple.py", 
line 39, in <module>
    import servermanager
  File 
"/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/servermanager.py", 
line 43, in <module>
    import paraview, re, os, new, sys, vtk
  File 
"/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/__init__.py", 
line 4, in <module>
    from libvtkCommonPython import *
ImportError: No module named libvtkCommonPython
Macintosh-2:Python$ env|grep LIBRARY
LD_LIBRARY_PATH=/usr/local/ParaView3_BUILD/bin
DYLD_LIBRARY_PATH=/usr/local/ParaView3_BUILD/bin
Macintosh-2:Python$ find $DYLD_LIBRARY_PATH -name "libvtkCommonPython*"
/usr/local/ParaView3_BUILD/bin/libvtkCommonPython.so
/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.dylib
/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.pv3.7.dylib
Macintosh-2:Python$ find $LD_LIBRARY_PATH -name "libvtkCommonPython*"
/usr/local/ParaView3_BUILD/bin/libvtkCommonPython.so
/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.dylib
/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.pv3.7.dylib

                                          
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to