[Paraview] Run a paraview-phyton scricpt in a windows batch file

Madalena S. Malhadas nenasantos at hotmail.com
Mon Feb 9 11:02:09 EST 2015


Hello,I am using python but now I am testing with pvpython and works!
Kind regardsMadalena

> Date: Mon, 9 Feb 2015 16:58:34 +0100
> From: i.krukow at tu-braunschweig.de
> To: nenasantos at hotmail.com; paraview at paraview.org
> Subject: Re: [Paraview] Run a paraview-phyton scricpt in a windows batch file
> 
> Hi Madalena,
> 
> are you using python or pvpython? 'Normal' python does not know where to 
> locate the ParaView libraries. Therefore, you should use pvpython from 
> the ParaView package, unless you have a special reason to do otherwise 
> (then you have to set up your system accordingly).
> 
> Kind regards
> Ian
> 
> 
> 
> Am 04.02.2015 um 16:00 schrieb Madalena S. Malhadas:
> >
> > I try to run a paraview-phyton script in a batch file in windows but i
> > get this error:
> >
> >
> > C:\Users\madalenasantos\Desktop\Paraview>py Cone.py
> > Traceback (most recent call last):
> >    File "Cone.py", line 2, in <module>
> >      from paraview.simple import *
> > ImportError: No module named 'paraview'
> >
> > C:\Users\madalenasantos\Desktop\Paraview>Pause
> > Press any key to continue . . .
> >
> >
> > Can any one could help me?
> >
> > Kind regards
> > Madalena
> >
> >
> > _______________________________________________
> > 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
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150209/1423fa31/attachment.html>


More information about the ParaView mailing list