[Paraview] Load Python module from Kitware releases

Renato Elias rnelias at gmail.com
Tue Sep 8 10:10:49 EDT 2009


Thanks Utkarsh, indirectly you answered my question.

Since vtkPythonWrapping is not present in the Kitware release, we must build
ParaView from scratch before loading ParaView/Python module.

Regards

Renato.

On Tue, Sep 8, 2009 at 10:53 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

> Refer to:
> http://www.paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started
>
> and ensure that PATH/PYTHONPATH are set correctly.
>
> Utkarsh
>
>
>
> On Tue, Sep 8, 2009 at 9:25 AM, Renato Elias<rnelias at gmail.com> wrote:
> > Is it possible to load the Python module from the Kitware ParaView
> releases
> > (outside the UI)? I've already tried but all that I've got was an error
> > message like the following:
> >
> > Microsoft Windows [Version 6.1.7600]
> > Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
> >
> > C:\Users\Renato>python
> > Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
> (Intel)]
> > on
> > win32
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> from paraview.simple import *
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> >   File "C:\Program Files\ParaView
> > 3.6.1\lib\paraview-3.6\paraview\simple.py", li
> > ne 39, in <module>
> >     import servermanager
> >   File
> > "C:/Kitware/ParaView-3-6-1/bin/Utilities/VTKPythonWrapping/paraview\serve
> > rmanager.py", line 55, in <module>
> > ImportError: DLL load failed: The specified procedure could not be found.
> >>>>
> >
> > Are we forced to build ParaView from scratch, including Python support,
> in
> > order to do it?
> >
> > (Moreover, I can't understand why the simple.py module is looking for
> > something in C:/Kitware/ParaView-3-6-1/... since I have not specified
> this
> > path in any environment variable...)
> >
> > Regards
> >
> > --
> > Renato N. Elias
> > ===================================
> > High Performance Computing Center (NACAD)
> > Federal University of Rio de Janeiro (UFRJ)
> > Rio de Janeiro, Brazil
> >
> >
> > _______________________________________________
> > 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
> >
> >
>



-- 
Renato N. Elias
===================================
High Performance Computing Center (NACAD)
Federal University of Rio de Janeiro (UFRJ)
Rio de Janeiro, Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090908/4e732027/attachment.htm>


More information about the ParaView mailing list