dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18040
Re: [Bug 556864] Re: Unable to import Viper (no module named vtk)
Thanks.
Do you know how I fix that?
I have installed everything that is adviced when installing Dorsal.
Regards
/Tor
On 4/8/10 18:15 , "Johannes Ring" <johannr@xxxxxxxxx> wrote:
> Sorry, this is not a bug in DOLFIN. It seems that you don't have
> installed the Python interface to VTK since you are unable to import VTK
> from Python.
>
> ** Changed in: dolfin
> Status: New => Invalid
--
Unable to import Viper (no module named vtk)
https://bugs.launchpad.net/bugs/556864
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: Invalid
Bug description:
Hi!
I recently sucesfully installed dorsal, but I can not use Viper in ipython. My problem is very similar to that relating to Question #102151 but there seem not to be a similar solution. I have tried to reinstall vtk-devel and then dorsal, but have not been succesfull.
The following is my output when trying to import viper in ipython.
In [2]: import viper
------------------------------------------------------------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/__init__.py", line 23, in <module>
from viper import *
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/viper.py", line 48, in <module>
import vtk, numpy, os, math
ImportError: No module named vtk
Any Ideas?
Thank you!
/Tor
Follow ups
References