1.Django下载
(1)pip install
(2)git clone
(3)官网下载
2.下载之后进入到对应的目录进行 python setup.py install
(1)ImportError: No module named setuptools
wget
tar zxvf setuptools-18.4.tar.gz
cd setuptools-18.4
python setup.py build
sudo python setup.py install
(2)creating dist
creating 'dist/Django-1.8.5-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing Django-1.8.5-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/Django-1.8.5-py2.7.egg
Extracting Django-1.8.5-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding Django 1.8.5 to easy-install.pth file
Installing django-admin.py script to /usr/local/bin
Installing django-admin script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/Django-1.8.5-py2.7.egg
Processing dependencies for Django==1.8.5
Finished processing dependencies for Django==1.8.5
阅读(941) | 评论(0) | 转发(0) |