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
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
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@kitware.com
To: the.1.l...@hotmail.com
CC: paraview@paraview.org
Looks like your python paths aren't s
from: /Applications/Paraview/Contents/Libraries/vtkCommonPython.so Reason:
image not found
hope someone can help
From: the.1.l...@hotmail.com
To: leo@kitware.com
Date: Fri, 5 Oct 2012 23:15:22 +0300
CC: paraview@paraview.org
Subject: Re: [Paraview] importing paraview from ipython
leo@kitware.com
> Date: Fri, 5 Oct 2012 23:15:22 +0300
> CC: paraview@paraview.org
>
> Subject: Re: [Paraview] importing paraview from ipython
>
>
> thanks but how can I access the sys.path
>
> I mean where is that located ?
>
>
> --------
com
Date: Sat, 6 Oct 2012 14:39:03 -0400
Subject: Re: [Paraview] importing paraview from ipython
To: the.1.l...@hotmail.com
CC: leo@kitware.com; paraview@paraview.org
You need to set the environment variable DYLD_LIBRARY_PATH to the directory
that contains libvtkCommonPythonD.dylib. Try enter
--
> From: pat.mar...@kitware.com
> Date: Sat, 6 Oct 2012 14:39:03 -0400
>
> Subject: Re: [Paraview] importing paraview from ipython
> To: the.1.l...@hotmail.com
> CC: leo@kitware.com; paraview@paraview.org
>
>
> You need to set the en
hen I try to import paraview
>
>
> ImportError Traceback (most recent call last)
> in ()
> > 1 from paraview import simple as pvsimple
>
> ImportError: No module named paraview
>
> From: pat.mar...@kitware.com
> Date: Sat, 6 Oct 2012 14:39:0
ost recent call
>> last)
>> in ()
>> > 1 from paraview import simple as pvsimple
>>
>> ImportError: No module named paraview
>>
>> ----------
>> From: pat.mar...@kitware.com
>> Date: Sat, 6 Oct 2012 14:39:03 -0400
&g