Ext.: http://blog.csdn.net/qq_15157439/article/details/52027551
1. Open the webpage, copy the setuptools download link, download the installation package with wget
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e
2. Unzip the downloaded setuptools-0.6c11.tar.gz
TAR-ZXVF setuptools-0.6c11.tar.gz
3. Enter the setuptools-0.6c11.tar.gz source file and use the executable command of the installed Python to perform the Setuptools installation
(1) Compiling
python2.7 setup.py Build
(2) Installation
python2.7 setup.py Install
Once the installation is complete, we will see the setuptools installed under the/usr/local/python directory.
(3) View the installation path of the Easy_install
ls/usr/local/python/bin/
(4) Making a soft link
Ln-s/usr/local/python/bin/easy_install/bin/setuptools
(5) View version
>>> Import Selenium
>>> Print selenium.__version__
3.0.1
4. Install Django (provided the computer is connected)
Easy-install Django
Easy-install will automatically download and install Django, after installation, enter
Python
Import Django in Python
>>> Import Django
>>> exit ()
Install Setuptools under Ubuntu