[Python-apps-team] Bug#534524: Bug#534524: Bug#529961: Bug#534524: Bug#534524: mayavi2: at runtime, ImportError: No module named libvtkCommonPython

Varun Hiremath varunhiremath at gmail.com
Fri Jun 26 05:33:49 UTC 2009


Hi Maitland,

On Fri, 26 Jun, 2009 at 12:20:26AM -0400, A. Maitland Bottoms wrote:
>  > In [1]: import vtk
>  > 
>  > In [2]: from libvtkCommonPython import *
> 
> Shouldn't that be:
> 
> from vtk.libvtkCommonPython import *
> 
> That works for me.

That works for me too, thanks. I just got confused by an old mayavi2
FTBFS bug #533946 where it was failing at "from libvtkCommonPython
import *", but I guess that was from somewhere within vtk. Anyway,
thanks for the fix and it works now as confirmed by Drew.

Thanks,
Varun





More information about the Python-apps-team mailing list