[Paraview] ParaView environment for Python

Andy Bauer andy.bauer at kitware.com
Mon Nov 8 22:35:12 EST 2010


Directions are at
http://paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started

I'm guessing you're missing LD_LIBRARY_PATH or PATH

pvpython and pvbatch should have all of the proper environment variables set
up for you.

Andy

On Mon, Nov 8, 2010 at 10:12 PM, Hamilton Woods <ghw at accutrol.com> wrote:

> I have a Python script that works inside of ParaView.  I would
> like to execute the script from IDLE.  I am using Python 3.1.2
> on Windows.  The documentation I have seen indicates setting
> an environment path for PYTHONPATH.  The examples are for Unix.
> According to another piece of ParaView documentation, I could
> use pvPython or pvBatch.
>
> I tried to load simple.py and servermanager.py into IDLE.  There
> were multiple syntax errors, which led me to consider that they
> are out of date and therefore no longer to be used.
>
> How does one interface with the ParaView engine (servermanager)
> from outside of ParaView?  Is it similar for Windows and for
> Unix?
>
> Thanks for your help,
> Hamilton Woods
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101108/0ba9fe76/attachment.htm>


More information about the ParaView mailing list