Regular contacts with Python may notice that the Easy_install command may be used when a third-party Python package needs to be installed. Easy_install is a command from the Setuptools package developed by the Peak (Python Enterprise application kit), so use Easy_ The install is actually calling Setuptools to complete the installation of the module. So we need to install the setuptools, but in the actual operation of the process, I still encountered a problem, After the online review has been installed through the. exe format file, but I downloaded after the discovery seems to be version does not match, engaged me half a day, originally figure easy not to go to the Python official website to see English, or hide but ah. Don't say much nonsense, look at the specific method.
This is setuptools proud of a way of installation, only need a 8K as a script ez_setup.py, you can automatically install for the user including Setuptools itself, many Python packages.
In this way, the user can download and install the appropriate Setuptools egg file for the current Python version of the user by simply downloading and running ez_setup.py (of course, the user needs Python 2.3.5 or more, 64-bit OS users need Python version 2.4 or higher). In addition, the script installs the executable Easy_install script to a location where the user's operating system Python executable scripts should be installed (for example, Windows users are installed in the Scripts directory in the Python installation directory). For more detailed instructions and precautions on this installation method, please refer to their official instructions.
Go to the Python website https://pypi.python.org/pypi/setuptools/. See the following interface:
Click ez_setup.py, pop up a new tab in the browser, inside the code section
Directly open the address: https://bootstrap.pypa.io/ez_setup.py
Select all and copy to a new file named ez_setup.py (save to Desktop for convenience)
Double-click Run, the script will automatically recognize the Python version, and download the appropriate files for you to install, in fact, quite a fool.
Run process
Then open the script folder of the Python directory to view
At this point, the Python setuptools is installed!
Python Installation Setuptools method