[Paraview] ImportError: libvtkCommonPythonD.so.pv3.4: cannot open shared
Dave Partyka
dave.partyka at kitware.com
Tue Aug 31 23:07:52 EDT 2010
If you do import sys
sys.path
Does that print the directory where libvtkCommonPythonD is located?
On Tue, Aug 31, 2010 at 10:07 PM, Kaben Nanlohy <kaben.nanlohy at gmail.com>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100831/f6b10973/attachment-0001.htm>
More information about the ParaView
mailing list