安装 pip install C:\Users\grace\Desktop\Django-1.11.2.tar.gz 后面是下载的库的绝对地址
C:\Users\grace>pip install C:\Users\grace\Desktop\Django-1.11.2.tar.gz
Processing c:\users\grace\desktop\django-1.11.2.tar.gzRequirement already satisfied: pytz in c:\users\grace\anaconda3\lib\site-packages (from Django==1.11.2)
Building wheels for collected packages: Django
Running setup.py bdist_wheel for Django ... done
Stored in directory: C:\Users\grace\AppData\Local\pip\Cache\wheels\36\40\bb\7e1e8ab0a8e0c2349edeb2197cbe26230288ea8c023bd2e330
Successfully built Django
Installing collected packages: Django
Successfully installed Django-1.11.2
安装成功
C:\Users\grace>pip install Django
Requirement already satisfied: Django in c:\users\grace\anaconda3\lib\site-packages
Requirement already satisfied: pytz in c:\users\grace\anaconda3\lib\site-packages (from Django)