Windows+linux Installing the Python tool setuptools
Setuptools is a sub-project of the Python Enterprise Application Kit (PEAK), which is an enhanced tool for Python's distutilsde tools (for Python 2.3.5 or later, 64 Bit platforms are available for Python version 2.4 or more, making it easier for programmers to create and publish Python packages, especially those that have dependencies on other packages.
frequent contact Python may notice that when a third-party Python package needs to be installed, Easy_install command. 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.
Perl users are more familiar with CPAN, while Ruby users are more familiar with Gems, Ez_setup tools that guide Setuptools and the accompanying Easy_install and "Cheeseshop" (Python package Inde X, also known as "PyPI") work together to achieve the same functionality. It is easy for you to automatically download, compile, install and manage Python packages.
Windows Install Python tool setuptools
First, pre-preparation
Check to see if Windows already has Python and Pip installed. If you already have Python and Pip installed, you can then install Setuptools. Open cmd and enter:
Pip-v
Python-v
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/06/95/wKiom1m6ZHDgupo4AAAM8LXNyg4437.png "title=" 110. PNG "alt=" Wkiom1m6zhdgupo4aaam8lxnyg4437.png "/>
The ability to display PIP and Pthon version numbers means that Pip and Python are already installed.
Second, download, unzip Setuptools
1, to the site Https://pypi.python.org/pypi/setuptools above to find the corresponding Setuptools package.
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/A5/46/wKioL1m6aD3w4TyzAAF49geQEDs356.png "title=" 344. PNG "alt=" Wkiol1m6ad3w4tyzaaf49geqeds356.png "/>
2, download setuptools-36.4.0.zip to Windows corresponding directory, and unzip
"Update Address" http://doublelinux.blog.51cto.com/12300166/1965418
Third, installation
1. Open cmd, switch directory to setuptools directory
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/06/96/wKiom1m6aUryuj1XAAAIGIf_3sA751.png "title=" 434. PNG "alt=" Wkiom1m6auryuj1xaaaigif_3sa751.png "/>2, execute python setup.py install
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/A5/46/wKioL1m6aYvxBHn1AAAcK8-oJ5M199.png "title=" 3232. PNG "alt=" Wkiol1m6ayvxbhn1aaack8-oj5m199.png "/>
Linux Installation Python tool setuptools
Linux installs Setuptools in a similar way to installing on Windows.
First, pre-preparation
Check to see if Windows already has Python and Pip installed. If you already have Python and Pip installed, you can then install Setuptools. Enter Pip-v and python-v in the Linux terminal to see if you can view the PIP and Python version models.
[Email protected] ~]# pip-v
Pip 9.0.1 From/usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg (Python 2.7)
[Email protected] ~]# python-v
Python 2.7.5
The ability to display PIP and Pthon version numbers means that Pip and Python are already installed.
Second, download, unzip Setuptools
1, to the site https://pypi.python.org/pypi/setuptools above to find the corresponding Setuptools package , Locate Setuptools-36.4.0.zip and then right-click to copy the link address.
2. Download the Setuptools toolkit under the specified directory of Linux.
[Email protected] ~]# cd/home/qiuuuu/tools/
[Email protected] tools]# wget
https://pypi.python.org/packages/28/4f/889339f38da415e49cff15b21ab27becbf4c017c79fbfdeca663f5b33b36/ Setuptools-36.4.0.zip#md5=3b4c557878202340e420dc9526a115c5
3, Decompression Setuptools
[Email protected] tools]# Unzip Setuptools-36.4.0.zip
Third, installation
1. Switch the current directory to the Setuptools extracted directory
[Email protected] tools]# CD setuptools-36.4.0
2. Execute command python setup.py install
[[email protected] setuptools-36.4.0]# python setup.py install
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/A5/46/wKioL1m6a-rSplAgAAAl0Gw3Qjw893.png "title=" 123. PNG "alt=" Wkiol1m6a-rsplagaaal0gw3qjw893.png "/> Last such display indicates successful installation!!!!!!!!!
This article from "Doublelinux" blog, declined reprint!
Windows+linux Installing the Python tool setuptools