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

Charl P. Botha cpbotha at cpbotha.net
Wed May 3 18:39:15 EDT 2006


On 5/4/06, Johann Cohen Tanugi <cohen at slac.stanford.edu> wrote:
>  >>> vtk.vtkVersion.GetVTKVersion()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'vtkVersion'
>  >>> dir(vtk)
> ['ColorScalars', 'Common', 'Data', 'DataSet', 'DataSetAttr', 'Field',
> 'LookupTable', 'Normals', 'Scalars', 'Tensors', 'TextureCoordinates',

Strange, you seem to be missing libvtkCommonPython.  Please check in
your binary directory (where you should find libvtkFilteringPython,
libGraphicsPython, etc.) that libvtkCommonPython is also there
somewhere.  From your dir(vtk) it looks like Common and all of its
symbols are missing.



More information about the vtkusers mailing list