I think this problem has been seen before on this list, but maybe not
in enough detail to solve. Here are more details.
On Ubuntu 10.04 64-bit server with paraview and all the associated
python/vtk stuff installed, when I type:
>>> import sys
>>> sys.path.append('/usr/lib/paraview')
>>> sys.path.append('/usr/lib/pymodules/python2.6/vtk/')
>>> import paraview.servermanager
I get: ImportError: libvtkCommonPythonD.so.pv3.4: cannot open shared
object file: No such file or directory
But if I do a stupid import in a specific order, I get a complaint,
and then success:
>>> import sys
>>> sys.path.append('/usr/lib/paraview')
>>> sys.path.append('/usr/lib/pymodules/python2.6/vtk/')
>>> import libvtkPVServerCommonPythonD
ImportError: dynamic module does not define init function
(initlibvtkPVServerCommonPythonD)
>>> import paraview.servermanager
>>>
This points to some inter-library dependencies and load-orders. Hope this helps.
_______________________________________________
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