[Paraview] basic python paraview setup question
Peter Brady
petertbrady at gmail.com
Fri Jan 23 11:32:25 EST 2009
Hi Sreejith,
I'm not sure if the paraview binaries are built with python scripting
enabled. (the default, when I've compiled it on my machine, is that
it is disabled) In that case you need to compile from source and turn
on python scripting. To check you could probably do a search for
paraview.py on your system and see if it turns up.
Hope that helps,
Peter.
On Fri, Jan 23, 2009 at 8:59 AM, Sreejith Kuttanikkad
<sreejithpk at gmail.com> wrote:
> Dear Paraview,
>
> I can't get python scripting working with paraview. I have downloaded
> paraview binary 3.4.0 for linux and set pythonpath by
>
> export
> PYTHONPATH="/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview/:/home/sree/paraview-3.4.0/bin/"
> in .bashrc file
>
> and in python when i printed the paths it showed the paraview paths:
>
> print sys.path
> ['', '/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview',
> '/home/sree/paraview-3.4.0/bin'.... ]
>
> however when i followed commands as given in
> http://www.paraview.org/Wiki/ParaView/Python_Scripting
> the following error occured.
>>>> from paraview import servermanager
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named paraview
>
> what I am missing here.. ?
>
> thanks,
> Sreejith
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list