anaconda2安装TVTK

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/sinat_38163598/article/details/73712503

推荐Anaconda2 ,然后新建py36环境,默认安装的的库只有几个,不会有冲突


C盘建立文件夹把下面的考进去py36

基础环境搭好,按照提示下载所需的库文件,是Unofficial的,依次安装:

VTK-7.1.1-cp36-cp36m-win_amd64.whl

numpy-1.12.1+mkl-cp36-cp36m-win_amd64.whl

traits-4.6.0-cp36-cp36m-win_amd64.whl

mayavi-4.5.0+vtk71-cp36-cp36m-win_amd64.whl

PyQt4-4.11.4-cp36-cp36m-win_amd64.whl

C:\ py36# 激活py36环境,这是我的下载文件目录

(py36) C:\ py36>pip install VTK-7.1.1-cp36-cp36m-win_amd64.whl

C:\ py36\vtk-7.1.1-cp36-cp36m-win_amd64.whl

Installing collected packages: VTK

Successfully installed VTK-7.1.1

....

C:\ py36>pip install PyQt4-4.11.4-cp36-cp36m-win_amd64.whl

C:\ py36>pyqt4-4.11.4-cp36-cp36m-win_amd64.whl

Installing collected packages: PyQt4

Successfully installed PyQt4-4.11.4


(py36) C:\ py36>python

Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> from tvtk.api import tvtk

>>> from tvtk.tools import tvtk_doc

>>> tvtk_doc.main()

展开阅读全文

没有更多推荐了,返回首页