<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I am not a python specialist hence I can't understand where is the problem, since all environment variables seem to be ok:<br><br>Macintosh-2:Python$ python myscript.py <br>Traceback (most recent call last):<br> File "myscript.py", line 1, in <module><br> from paraview.simple import *<br> File "/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/simple.py", line 39, in <module><br> import servermanager<br> File "/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 43, in <module><br> import paraview, re, os, new, sys, vtk<br> File "/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/__init__.py", line 4, in <module><br> from libvtkCommonPython import *<br>ImportError: No module named libvtkCommonPython<br>Macintosh-2:Python$ env|grep LIBRARY<br>LD_LIBRARY_PATH=/usr/local/ParaView3_BUILD/bin<br>DYLD_LIBRARY_PATH=/usr/local/ParaView3_BUILD/bin<br>Macintosh-2:Python$ find $DYLD_LIBRARY_PATH -name "libvtkCommonPython*"<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPython.so<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.dylib<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.pv3.7.dylib<br>Macintosh-2:Python$ find $LD_LIBRARY_PATH -name "libvtkCommonPython*"<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPython.so<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.dylib<br>/usr/local/ParaView3_BUILD/bin/libvtkCommonPythonD.pv3.7.dylib<br><br> <br /><hr />Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? ! <a href='http://www.windows-7-pour-les-etudiants.com' target='_new'>Découvrez notre offre ! </a></body>
</html>