[Paraview] importing paraview from ipython
the lily
the.1.lily at hotmail.com
Fri Oct 5 16:35:25 EDT 2012
Hi
I have appended all the paths from pvpython to ipython but still not working now I get the following error
ImportError: dlopen(/Applications/Paraview/Contents/Libraries/vtkCommonPython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonPythonD.pv3.14.dylib Referenced from: /Applications/Paraview/Contents/Libraries/vtkCommonPython.so Reason: image not found
hope someone can help
From: the.1.lily at hotmail.com
To: leo.liu at kitware.com
Date: Fri, 5 Oct 2012 23:15:22 +0300
CC: paraview at paraview.org
Subject: Re: [Paraview] importing paraview from ipython
thanks but how can I access the sys.path
I mean where is that located ?
Date: Fri, 5 Oct 2012 11:24:00 -0400
Subject: Re: [Paraview] importing paraview from ipython
From: leo.liu at kitware.com
To: the.1.lily at hotmail.com
CC: paraview at paraview.org
Looks like your python paths aren't set up correctly. I would do:
- Run pvpython and do "import sys; print sys.path". You should see a bunch of paths related to ParaView python.
- In ipython, append these paths to your sys.path. 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
Leo
On Fri, Oct 5, 2012 at 10:08 AM, the lily <the.1.lily at hotmail.com> wrote:
Dear all
I would like to import Paraview from ipython
but I get the following error
ImportError: No module named paraview
is there a way to connect paraview with ipython
thanks
_______________________________________________
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/20121005/b925b97c/attachment.htm>
More information about the ParaView
mailing list