installing Mayavi with pip - no module named vtk

前端 未结 6 2011
耶瑟儿~
耶瑟儿~ 2020-12-24 11:48

I want to use Mayavi.

Situation

  • I use a MacBook Air, with OSX 10.7.3.
  • I use Python 2.7.2
  • I have virtualenv installed.
6条回答
  •  天涯浪人
    2020-12-24 12:30

    I had the same problem and the first answer didn't help me because pip was in the right directory, but it turned out I didn't have vtk installed - running sudo apt-get install python-vtk fixed the issue and I was able to successfully run pip install mayavi after that.

提交回复
热议问题