1. Download the Python installer first: https://www.python.org/download/releases/2.7.8/
Such as:
Because my machine is 32-bit, I chose Windows x86 MSI Installer (2.7.8)
After successful installation
2. Download and install Setuptools
Specific measures:
Access page: Https://pypi.python.org/pypi/setuptools
Enter the page and click on the "Windows (Simplified)" link below it and click "ez_setup.py" link to enter https://bootstrap.pypa.io/ez_setup.py
Copy the contents into a text file, change the file name to easy_install.py, and then copy the easy_install.py to the C:\Python27 directory, and Python.exe in the same directory
Run the following command at the command line to install the easy_install.py
C:\python27>python easy_install.py
If the installation succeeds, the following interface appears:
3. After successful installation, you can install other third-party python packages with setuptools.
To install the PyInstaller-3.2 package as an example: Download PyInstaller-3.2 and unzip to the D:\python\PyInstaller-3.2 path.
Then run under the command line: D:\python\pyinstaller-3.2>python setup.py Install
Such as:
This makes it easy to install other third-party python packages.
Python download installation and setuptools applications