CMAKE_MACOSX_DEPLOYMENT_TARGET<br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 8:07 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Most probably. The only way to get around this (and other similar problems)<br>
is to build ParaView from source using the same version of Python and Qt<br>
as yours. Otherwise, you'll get conflicts. Also, make sure that your Mac<br>
target is the same as your Python when building. I forgot the CMake variable<br>
for it. Something with target...<br>
<font color="#888888"><br>
-berk<br>
</font><div><div></div><div class="h5"><br>
On Mon, Aug 2, 2010 at 11:46 AM, Erik Anderson <<a href="mailto:eranders@sci.utah.edu">eranders@sci.utah.edu</a>> wrote:<br>
> Hi all,<br>
> I am trying to import paraview.simple from an external Python interpreter.<br>
> I am trying to use the ParaView 3.8.0 binary distribution and I have all my<br>
> paths setup properly, but I'm getting the following error:<br>
><br>
>>>> import paraview.simple<br>
> Traceback (most recent call last):<br>
> File "<stdin>", line 1, in <module><br>
> File "/Applications/ParaView 3.8.0.app/Contents/Python/paraview/simple.py",<br>
> line 39, in <module><br>
> import servermanager<br>
> File "/Applications/ParaView<br>
> 3.8.0.app/Contents/Python/paraview/servermanager.py", line 43, in <module><br>
> import paraview, re, os, new, sys, vtk<br>
> File "/Applications/ParaView<br>
> 3.8.0.app/Contents/Python/paraview/vtk/__init__.py", line 4, in <module><br>
> from libvtkCommonPython import *<br>
> ImportError: dlopen(/Applications/ParaView<br>
> 3.8.0.app/Contents/Libraries/libvtkCommonPython.so, 2): no suitable image<br>
> found. Did find:<br>
> /Applications/ParaView 3.8.0.app/Contents/Libraries/libvtkCommonPython.so:<br>
> mach-o, but wrong architecture<br>
><br>
> Upon some closer inspection, I see that the Python version used in ParaView<br>
> is:<br>
> 2.5.4_final<br>
><br>
> whereas I am using:<br>
> 2.6.5_final<br>
><br>
> Is this the cause of the error? If so, how can I work around this?<br>
><br>
> Thanks,<br>
> Erik Anderson<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>