Directions are at <a href="http://paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started">http://paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started</a><br><br>I'm guessing you're missing LD_LIBRARY_PATH or PATH<br>
<br>pvpython and pvbatch should have all of the proper environment variables set up for you.<br><br>Andy<br><br><div class="gmail_quote">On Mon, Nov 8, 2010 at 10:12 PM, Hamilton Woods <span dir="ltr"><<a href="mailto:ghw@accutrol.com">ghw@accutrol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have a Python script that works inside of ParaView. I would<br>
like to execute the script from IDLE. I am using Python 3.1.2<br>
on Windows. The documentation I have seen indicates setting<br>
an environment path for PYTHONPATH. The examples are for Unix.<br>
According to another piece of ParaView documentation, I could<br>
use pvPython or pvBatch.<br>
<br>
I tried to load simple.py and servermanager.py into IDLE. There<br>
were multiple syntax errors, which led me to consider that they<br>
are out of date and therefore no longer to be used.<br>
<br>
How does one interface with the ParaView engine (servermanager)<br>
from outside of ParaView? Is it similar for Windows and for<br>
Unix?<br>
<br>
Thanks for your help,<br>
Hamilton Woods<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>