When installing the Python environment, you will also need to install "Setuptools and Pip", but there are several issues when installing Setuptools, as follows:
Setuptools and Pip are as follows:
Https://pypi.Python.org/pypi/setuptools
Https://pypi.Python.org/pypi/pip
Install after decompression.
Install Setuptools, execute on cmd command line: Python setup.py install
But the error, such as:
Traceback (most recent):
File "setup.py", line one, in <module>
Import Setuptools
File "C:\Users\ZHANGCH\Desktop\setuptools-35.0.2\setuptools\__init__.py", line
Ten, in <module>
From six.moves import filter, map
Modulenotfounderror:no module named ' Six '
Online inquiry information learned:
https://pypi.python.org/pypi/six/
Download this to perform the installation just fine
Unzip after download completes, execute Python setup.py install command
Solve the ' six ' problem, and then install Setuptools, found another error, such as
Modulenotfounderror:no module named ' Packaging '
===========================================================
On the internet has been unable to find relevant solutions, and later in the blog Park asked the great God to solve my problem, the original I was wrong before, as shown below is the way to really let go:
In the Windows environment, Python does not have the Setuptools module installed by default, which is also a third-party module. For Http://pypi.python.org/pypi/setuptools But now there is no exe file to download, so use this https://bootstrap.pypa.io/ez_setup.py
I downloaded the ez_setup.py file to the Python directory, and then cmd ran Python ez_setup.py.
The installation was successful when the above content appeared. It's simple.
Issues and workarounds for "Installing Setuptools" in the "Install Python environment"