replace 'import vtk' with 'import pyvtk'

Issue #25 new
Anonymous created an issue
Python 2.7.8 (default, Aug 24 2014, 21:25:53) 
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/ars/app/", line 9, in <module>
    from import vtk_adapter as gp
  File "/usr/local/lib/python2.7/site-packages/ars/graphics/", line 1, in <module>
    import vtk
ImportError: No module named vtk

The problem is the vtk module is called 'pyvtk', at least when installed from pip. Replacing the one line in fixes things.

Comments (1)

  1. Log in to comment