[vtkusers] vtk.vtkVersion() not exposed to python?

Martin Costabel costabel at wanadoo.fr
Sun May 7 07:11:00 EDT 2006


Johann Cohen Tanugi wrote:
> Thanks Martin, that might be it! I indeed installed pyvtk at some 
> point...... trying to get a feeling of what is 'out there'. Here are the 
> first lines from
> [cohen at glast-jct cohen]$ more 
> /data0/local/lib/python2.4/site-packages/vtk/common.py
> #!/usr/bin/env python
> """
> Common functions/methods.
> """
> """
> 
> Copyright 2001 Pearu Peterson all rights reserved,
> Pearu Peterson <pearu at ioc.ee>

Yes, this looks like what I see in site-packages/pyvtk/common.py.
It is strange that yours is in the 'vtk' directory and not in 'pyvtk'.
Somthing must have gone wrong during pyvtk's installation. I would 
remove it and then reinstall vtk.

-- 
Martin




More information about the vtkusers mailing list