Install Setuptools under Ubuntu

Source: Internet
Author: User
Tags install django

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

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.