更新django到2.x

django-2.x 已经发布了、想体验一下它的新功能、于是把之前电脑上的django-1.11.7uninstall 掉

 

一、卸载django-1.11.7:

pip3 uninstall django
Uninstalling Django-1.11.7:
  /Library/Frameworks/Python.framework/Versions/3.6/bin/__pycache__/django-admin.cpython-36.pyc
........

 

二、安装django:

pip3 install django
Collecting django
  Downloading Django-2.0.2-py3-none-any.whl (7.1MB)
    100% |████████████████████████████████| 7.1MB 202kB/s 
Requirement already satisfied: pytz in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from django)
Installing collected packages: django
Successfully installed django-2.0.2

 

posted on 2018-02-12 20:23  蒋乐兴的技术随笔  阅读(237)  评论(0编辑  收藏  举报

导航