dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04773
Re: Plotting works for elasticity demo
Garth N. Wells skrev den 26/04-2007 følgende:
[snip]
> Looks like a problem with my VTK-Python bindings. I get
>
> >python2.4 -c "import viper; print viper.__file__"
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> File "/usr/lib/python2.4/site-packages/viper/__init__.py", line 1, in ?
> from viper import *
> File "/usr/lib/python2.4/site-packages/viper/viper.py", line 10, in ?
> import vtk
> ImportError: No module named vtk
>
> My python-vtk package is for Python 2.5, whereas I'm using Python 2.4
> due to the SWIG bug. If I do
>
> python -c "import viper; print viper.__file__"
>
> I get
>
> /usr/lib/python2.5/site-packages/viper/__init__.pyc
>
> Garth
It looks like you just updated your ubuntu distro to Feisty Fawn. I heared
that VTK is not properly built for python 2.5 there. Perhaps it is better to
wait for the packages to be fixed what trying to work out a hack.
Ola
Follow ups
References