← Back to team overview

dolfin team mailing list archive

[Question #102151]: Unable to import Viper

 

New question #102151 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/102151

After upgrading to dolfin 0.9.7 plotting doesn't work.

>>> from dolfin import *
No module named vtk
*** Warning: Unable to import Viper, plotting disabled.
>>> 
>>> 
>>> import viper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/viper/__init__.py", line 23, in <module>
    from viper import *
  File "/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/viper/viper.py", line 48, in <module>
    import vtk, numpy, os, math
ImportError: No module named vtk


I have tried to reinstall vtk via macports but the problem remains.

Aron

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.