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: [email protected] To: [email protected] CC: [email protected] 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 <[email protected]> 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
