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.