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

Ian Krukow i.krukow at tu-braunschweig.de
Mon Feb 9 10:58:34 EST 2015


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
>


More information about the ParaView mailing list