Use easy_install to install numpy, pandas, matplotlib, and various third-party modules

Source: Internet
Author: User

Use easy_install to install numpy, pandas, matplotlib, and various third-party modules

After one night, I finally set the environment in the question. The following is a brief description, which is reserved for information and shared.


1. Install python. In cmd, you can enter the python environment by adding the python path to the system path.


2. install easy-install (installtools ). Download the appropriate version of the compressed package on the official website, decompress it, use cmd to enter the decompressed directory, and use python setup. py install to install the package.


3. import the module you want to use at this time. If the system prompts that the module does not exist, there are two solutions: first, download the compressed package of the module and decompress it to the same installation method as (2. If Step 2 is absent at this time, you will be prompted that you cannot find the install tool. (Of course pip should be fine, but I have not tried it ). The second solution is to directly use easy_install module-name under amd. It will install the latest version.

For the specified version, you can use easy_install-U "module-name = 1.8" or easy_install-U "module-name <1.8" (for version reasons, some are incompatible ).


4. You can uninstall the module. First, use easy_install-m module-name (please refer to Baidu for details)

Second, in IDLE, determine whether sys. modules exists in this module. If del () exists, you can.

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.