[Paraview] Python configuration issue

Fred Fred stan1313 at hotmail.fr
Sat Nov 21 09:56:20 EST 2009


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091121/6ce4589b/attachment-0001.htm>


More information about the ParaView mailing list