python2.7 mayavi 安裝,python2.7mayavi

來源:互聯網
上載者:User

python2.7 mayavi 安裝,python2.7mayavi

工具:python2.7

相關包:traits-4.6.0-cp27-cp27m-win32.whl, VTK-7.1.1-cp27-cp27m-win32.whl, mayavi-4.5.0+vtk71-cp27-cp27m-win32.whl

http://www.lfd.uci.edu/~gohlke/pythonlibs/

安裝前準備:

    

    

  4. 安裝wheel包:pip install wheel

  5. 下載VCForPython27.msi並安裝

開始安裝,安裝順序如下:

  1: pip install traits-4.6.0-cp27-cp27m-win32.whl

  2: pip install VTK-7.1.1-cp27-cp27m-win32.whl  

  3: pip install mayavi-4.5.0+vtk71-cp27-cp27m-win32.whl

安裝完成後進入Python,輸入import mayavi.mlab,沒有報錯說明安裝好了:

  

 

注意一:如果安裝完成後出現 LinkError: DLL load failed: 找不到指定的模組。

   1. 檢查mayavi與vtk版本是否匹配

   2. 重新下載vtk最新版本(與Python版本匹配)以及與該版本匹配的mayavi版本,並重新安裝

注意二:安裝過程中可能需要安裝pyqt

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.