Install python2.7 mayavi and python2.7mayavi

Source: Internet
Author: User
Tags traits

Install python2.7 mayavi and python2.7mayavi

Tools:Python2.7

Related packages: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/

Preparations before installation:

    

    

4. install the wheel Package: pip install wheel

5. Download VCForPython27.msi and install

Start installation. The installation sequence is as follows:

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

After installation, go to Python and enter import mayavi. mlab. If no error is reported, the installation is successful:

  

 

Note 1: If LinkError: DLL load failed is displayed after installation is complete, the specified module cannot be found.

1. Check whether the mayavi and vtk versions match

2. download the latest vtk version (matching the Python version) and the mayavi version that matches the version, and reinstall it.

NOTE 2: You may need to install pyqt during installation.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.