← Back to team overview

dolfin team mailing list archive

[Bug 556864] [NEW] Unable to import Viper (no module named vtk)

 

Public bug reported:

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

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
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: New

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