? ~ pip install Django You are using pip version 7.1.0, however version 7.1.2 is available. You should consider upgrading via the ‘pip install --upgrade pip‘ command. Collecting Django Downloading Django-1.8.6-py2.py3-none-any.whl (6.2MB) 42% |█████████████▋ | 2.6MB 32kB/s eta 0:01:49
等待安装结束
Collecting Django Downloading Django-1.8.6-py2.py3-none-any.whl (6.2MB) 100% |████████████████████████████████| 6.2MB 25kB/s Installing collected packages: Django Successfully installed Django-1.8.6
>>> import django >>> print(django.get_version()) 1.8.6
原文:http://www.cnblogs.com/s380774061/p/4986824.html