Issues and workarounds for "Installing Setuptools" in the "Install Python environment"

Source: Internet
Author: User

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"

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.