Helvin helvinlui at
Thu Jul 9 02:27:53 EDT 2009

On Jul 9, 11:29 am, Robert Kern <robert.k... at> wrote:
> On 2009-07-08 18:10, Helvin wrote:
> > Thanks for the fast replies! I will look into how to use VTK now.
> > Where would I find VTK's explicit support for PyQt?
> Wrapping/Python/vtk/qt4/ in the VTK sources.
> > Because I have installed VTK (using its installer) and pyVTK (using
> > its file), but how do I actually use it in my code? According
> > to:,
> > I have tried 'import vtk', but python can't find the vtk module.
> Then you have not installed VTK's Python bindings correctly. Note that pyVTK is
> just a library for manipulating VTK files. The VTK Python bindings are part of
> VTK's distribution itself. Exactly how did you install VTK? Did you compile it
> yourself?
> --
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless enigma
>   that is made terrible by our own mad attempt to interpret it as though it had
>   an underlying truth."
>    -- Umberto Eco

You mean, when I download VTK, the VTK Python bindings come with it?
I downloaded VTK from:

I downloaded pyVTK from:
And then installed it by the command 'python install'
according to:
I understand that this command runs the file called '' that
came with the pyVTK download.

Thanks so much for your help! I am very desperate now...


More information about the Python-list mailing list