pip install Django -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
an examination
[root@localhost yum.repos.d]# [root@localhost yum.repos.d]# python Python 2.7.5 (default, Jun 17 2014, 18:11:42) [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.VERSION (1, 10, 1, in 'final', 1) >>> django.get_version() '1.10.1'
In addition, it is also possible to
yum install python-django -y to install
Reprint address: http://www.up123.cc/11.html