Thanks Utkarsh, indirectly you answered my question. <br><br>Since vtkPythonWrapping is not present in the Kitware release, we must build ParaView from scratch before loading ParaView/Python module.<br><br>Regards<br><br>Renato.<br>
<br><div class="gmail_quote">On Tue, Sep 8, 2009 at 10:53 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Refer to:<br>
<a href="http://www.paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started" target="_blank">http://www.paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started</a><br>
<br>
and ensure that PATH/PYTHONPATH are set correctly.<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Sep 8, 2009 at 9:25 AM, Renato Elias<<a href="mailto:rnelias@gmail.com">rnelias@gmail.com</a>> wrote:<br>
> Is it possible to load the Python module from the Kitware ParaView releases<br>
> (outside the UI)? I've already tried but all that I've got was an error<br>
> message like the following:<br>
><br>
> Microsoft Windows [Version 6.1.7600]<br>
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br>
><br>
> C:\Users\Renato>python<br>
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]<br>
> on<br>
> win32<br>
> Type "help", "copyright", "credits" or "license" for more information.<br>
>>>> from paraview.simple import *<br>
> Traceback (most recent call last):<br>
> File "<stdin>", line 1, in <module><br>
> File "C:\Program Files\ParaView<br>
> 3.6.1\lib\paraview-3.6\paraview\simple.py", li<br>
> ne 39, in <module><br>
> import servermanager<br>
> File<br>
> "C:/Kitware/ParaView-3-6-1/bin/Utilities/VTKPythonWrapping/paraview\serve<br>
> rmanager.py", line 55, in <module><br>
> ImportError: DLL load failed: The specified procedure could not be found.<br>
>>>><br>
><br>
> Are we forced to build ParaView from scratch, including Python support, in<br>
> order to do it?<br>
><br>
> (Moreover, I can't understand why the simple.py module is looking for<br>
> something in C:/Kitware/ParaView-3-6-1/... since I have not specified this<br>
> path in any environment variable...)<br>
><br>
> Regards<br>
><br>
> --<br>
> Renato N. Elias<br>
> ===================================<br>
> High Performance Computing Center (NACAD)<br>
> Federal University of Rio de Janeiro (UFRJ)<br>
> Rio de Janeiro, Brazil<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>Renato N. Elias<br>===================================<br>High Performance Computing Center (NACAD)<br>Federal University of Rio de Janeiro (UFRJ)<br>Rio de Janeiro, Brazil<br>
<br>