Hi,<div><br></div><div>Am am still unable to resolve me two issues with pvpython and python on my mac OSX 10.7.5.</div><div><br></div><div>1.)  I saved a python trace which I ran successfully on terminal. I tried to run the same script using python and I get the following error messages. <br clear="all">
<div><br></div><div><br></div><div><div>Chukwudis-MacBook-Pro:Python chukwudichukwudozie$ python trace.py </div><div>Traceback (most recent call last):</div><div>  File &quot;trace.py&quot;, line 2, in &lt;module&gt;</div>
<div>    except: from paraview.simple import *</div><div>  File &quot;/Applications/ParaView.app/Contents/Python/paraview/simple.py&quot;, line 39, in &lt;module&gt;</div><div>    import servermanager</div><div>  File &quot;/Applications/ParaView.app/Contents/Python/paraview/servermanager.py&quot;, line 43, in &lt;module&gt;</div>
<div>    import paraview, re, os, os.path, new, sys, vtk</div><div>  File &quot;/Applications/ParaView.app/Contents/Python/paraview/vtk/__init__.py&quot;, line 1, in &lt;module&gt;</div><div>    from vtkCommonPython import *</div>
<div>ImportError: dlopen(/Applications/ParaView.app/Contents/Libraries/vtkCommonPython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonPythonD.pv3.14.dylib</div><div>  Referenced from: /Applications/ParaView.app/Contents/Libraries/vtkCommonPython.so</div>
<div>  Reason: image not found</div></div><div><br></div><div>2.)  I have a simple python script to plot a graph. I tried to run the same script using pvpython and I get the messages below.</div><div><br></div><div><div>Chukwudis-MacBook-Pro:Python chukwudichukwudozie$ pvpython plot.py </div>
<div>Traceback (most recent call last):</div><div>  File &quot;plot.py&quot;, line 2, in &lt;module&gt;</div><div>    import numpy as np</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/__init__.py&quot;, line 130, in &lt;module&gt;</div>
<div>    import add_newdocs</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/add_newdocs.py&quot;, line 9, in &lt;module&gt;</div><div>    from lib import add_newdoc</div>
<div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/lib/__init__.py&quot;, line 152, in &lt;module&gt;</div><div>    from type_check import *</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/lib/type_check.py&quot;, line 8, in &lt;module&gt;</div>
<div>    import numpy.core.numeric as _nx</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/__init__.py&quot;, line 5, in &lt;module&gt;</div><div>    import multiarray</div>
<div>ImportError: dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/multiarray.so, 2): no suitable image found.  Did find:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/multiarray.so: mach-o, but wrong architecture</div>
</div><div><br></div><div>When I do a print sys.path, it looks like paraview is using system python2.5 which does not have numpy and matplotlib.</div><div><br></div><div>Any help on how to resolve these issues?</div><div>
<br></div><div>Thanks.</div><div><br></div>-- <br>Chukwudi Chukwudozie <br><a href="mailto:cchukw1@tigers.lsu.edu">cchukw1@tigers.lsu.edu</a><br>Craft and Hawkins Department of Petroleum Engineering<br>Louisiana State University<br>
Patrick F. Taylor Hall (CEBA)<br>Room 3429<br>Baton Rouge LA, 70803<br>Cell:3373546822<br>Office: 2255786064
</div>