[Paraview] ParaView Python

Dave Partyka dave.partyka at kitware.com
Mon Aug 2 20:46:49 EDT 2010


CMAKE_MACOSX_DEPLOYMENT_TARGET

On Mon, Aug 2, 2010 at 8:07 PM, Berk Geveci <berk.geveci at kitware.com> wrote:

> Most probably. The only way to get around this (and other similar problems)
> is to build ParaView from source using the same version of Python and Qt
> as yours. Otherwise, you'll get conflicts. Also, make sure that your Mac
> target is the same as your Python when building. I forgot the CMake
> variable
> for it. Something with target...
>
> -berk
>
> On Mon, Aug 2, 2010 at 11:46 AM, Erik Anderson <eranders at sci.utah.edu>
> wrote:
> > Hi all,
> >   I am trying to import paraview.simple from an external Python
> interpreter.
> >  I am trying to use the ParaView 3.8.0 binary distribution and I have all
> my
> > paths setup properly, but I'm getting the following error:
> >
> >>>> import paraview.simple
> > Traceback (most recent call last):
> >  File "<stdin>", line 1, in <module>
> >  File "/Applications/ParaView
> 3.8.0.app/Contents/Python/paraview/simple.py",
> > line 39, in <module>
> >   import servermanager
> >  File "/Applications/ParaView
> > 3.8.0.app/Contents/Python/paraview/servermanager.py", line 43, in
> <module>
> >   import paraview, re, os, new, sys, vtk
> >  File "/Applications/ParaView
> > 3.8.0.app/Contents/Python/paraview/vtk/__init__.py", line 4, in <module>
> >   from libvtkCommonPython import *
> > ImportError: dlopen(/Applications/ParaView
> > 3.8.0.app/Contents/Libraries/libvtkCommonPython.so, 2): no suitable image
> > found.  Did find:
> >   /Applications/ParaView
> 3.8.0.app/Contents/Libraries/libvtkCommonPython.so:
> > mach-o, but wrong architecture
> >
> > Upon some closer inspection, I see that the Python version used in
> ParaView
> > is:
> > 2.5.4_final
> >
> > whereas I am using:
> > 2.6.5_final
> >
> > Is this the cause of the error?  If so, how can I work around this?
> >
> > Thanks,
> > Erik Anderson
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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/20100802/1db02602/attachment.htm>


More information about the ParaView mailing list