标签:django
Django的安装
安装pip
sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip && sudo pip install --upgrade virtualenv
安装django
sudo pip install Django
验证是否安装成功
exeucte python and try to get its version
>>> import django
>>> print(django.get_version())
若失败,使用以下命令安装
sudo apt-get install python-django
也可以下载Django的源码
git clone git://github.com/django/django.git django-trunk
本文出自 “Neicole — Data Library” 博客,请务必保留此出处http://neicole.blog.51cto.com/5621716/1536615
标签:django
原文地址:http://neicole.blog.51cto.com/5621716/1536615