nop, but the error message has changed to<br><br>>>> from paraview.simple import *<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "C:\Program Files\ParaView 3.6.1\lib\paraview-3.6\paraview\simple.py", li<br>
ne 39, in <module><br> import servermanager<br> File "C:\Program Files\ParaView 3.6.1\lib\paraview-3.6\paraview\servermanager.<br>py", line 55, in <module><br> from vtkPVServerManagerPython import *<br>
ImportError: DLL load failed: The specified procedure could not be found.<br>>>><br><br>PATH = C:\Program Files\ParaView 3.6.1\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files\CMake 2.6\bin;C:\Program Files\ParaView 3.6.1\lib\paraview-3.6\paraview;C:\Python25;<br>
<br>PYTHONPATH = C:\Program Files\ParaView 3.6.1\lib\paraview-3.6\;C:\Program Files\ParaView 3.6.1\lib\paraview-3.6\paraview<br><br>--------------------------<br><br>Renato.<br><br><br><br><div class="gmail_quote">On Tue, Sep 8, 2009 at 11:17 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;">Try setting PYTHONPATH (as well as PATH) to the directories containing<br>
the simple.py as well the dlls. Does that not work?<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Tue, Sep 8, 2009 at 10:10 AM, Renato Elias<<a href="mailto:rnelias@gmail.com">rnelias@gmail.com</a>> wrote:<br>
> Thanks Utkarsh, indirectly you answered my question.<br>
><br>
> Since vtkPythonWrapping is not present in the Kitware release, we must build<br>
> ParaView from scratch before loading ParaView/Python module.<br>
><br>
> Regards<br>
><br>
> Renato.<br>
><br>
> On Tue, Sep 8, 2009 at 10:53 AM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> 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>
>><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<br>
>> > 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<br>
>> > (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>
>> ><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<br>
>> > found.<br>
>> >>>><br>
>> ><br>
>> > Are we forced to build ParaView from scratch, including Python support,<br>
>> > 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<br>
>> > 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>
>> > _______________________________________________<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>
><br>
><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></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>Sent from Rio De Janeiro, RJ, Brazil