美文网首页
How to install django

How to install django

作者: SunStill | 来源:发表于2016-01-21 20:27 被阅读0次
  1. install python
    add the "c:/python27/python.exe" to PATH.

2.install django:
download it from http:

//www.djangoproject.com/download/

and unzip it ,then

//www.djangoproject.com/download/

successfully!!

3.however you can manager django versions by pip.
download pip form :

wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate

4.or install pip with python only:

//www.djangoproject.com/download/
  1. pip is already installed if you're using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org, but you'll need to upgrade pip.

6 if you python version is <2.7.9 ,then download get-pip.py form :

https://bootstrap.pypa.io/get-pip.py

then run "python get-pip.py",and update the pip with "python -m pip install -U pip"

  1. if you python is >=2.7.9 .then run "python -m pip install -U pip"

  2. then you an install django with "pip install django".

相关文章

网友评论

      本文标题:How to install django

      本文链接:https://www.haomeiwen.com/subject/rfglkttx.html