← Back to team overview

dolfin team mailing list archive

Re: [Question #102151]: Unable to import Viper

 

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

Johannes Ring posted a new comment:
I'm also struggling with a Mac. Not with VTK though, but with MPI.
Anyway, try to start Python and import VTK:

  fenicsslave2@buildbotmac:jhbuildbot$ python
  Python 2.6.4 (r264:75706, Feb 19 2010, 17:57:28) 
  [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import vtk
  >>> vtk.__file__
  '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/__init__.pyc'
  >>> 

I'm using VTK from MacPorts and it works for me.

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