<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Hi<div><br></div><div>I have appended all the paths from pvpython to ipython but still not working now I get the following error</div><div><br></div><div><div>ImportError: dlopen(/Applications/Paraview/Contents/Libraries/vtkCommonPython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonPythonD.pv3.14.dylib</div><div>&nbsp; Referenced from: /Applications/Paraview/Contents/Libraries/vtkCommonPython.so</div><div>&nbsp; Reason: image not found</div><div><br></div><div><br></div><div>hope someone can help</div><div><br></div><div><br></div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: the.1.lily@hotmail.com<br>To: leo.liu@kitware.com<br>Date: Fri, 5 Oct 2012 23:15:22 +0300<br>CC: paraview@paraview.org<br>Subject: Re: [Paraview] importing paraview from ipython<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
<div><br></div>thanks but how can I access the sys.path&nbsp;<div><br></div><div>I mean where is that located ?</div><div><br></div><div><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">Date: Fri, 5 Oct 2012 11:24:00 -0400<br>Subject: Re: [Paraview] importing paraview from ipython<br>From: leo.liu@kitware.com<br>To: the.1.lily@hotmail.com<br>CC: paraview@paraview.org<br><br>Looks like your python paths aren't set up correctly. &nbsp;I would do:<div><br></div><div>- Run pvpython and do "import sys; print sys.path". You should see a bunch of paths related to ParaView python.</div><div>
- In ipython, append these paths to your sys.path. &nbsp;I think ipython also has a start up script, something like ipy_user_conf.py. If you do the importing there, you can save your self from having to retype this every time</div>
<div><br></div><div>Leo</div><div><br></div><div><div class="ecxgmail_quote">On Fri, Oct 5, 2012 at 10:08 AM, the lily <span dir="ltr">&lt;<a href="mailto:the.1.lily@hotmail.com">the.1.lily@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
<div><br></div><div><br></div><div>Dear all</div><div><br></div><div>I would like to import Paraview from ipython</div><div><br></div><div>but I get the following error</div><div><br></div><div>&nbsp;<span style="font-size:10pt">ImportError: No module named paraview</span></div>
<div><span style="font-size:10pt"><br></span></div><div>is there a way to connect paraview with ipython</div><div><br></div><div><br></div><div><br></div><div>thanks</div>                                               </div></div>
<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>
<br></blockquote></div><br></div></div></div>                                               </div>
<br>_______________________________________________
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</div></div>                                               </div></body>
</html>