djangorestframework安装

https://pypi.python.org/pypi/djangorestframework/0.3.2下载

解压

python setup.py install


如果提示

ImportError: No module named setuptools



安如下步骤:

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz

tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py build

python setup.py install



然后python setup.py install 就OK了


django-rest-framework应用: http://www.django-rest-framework.org/

你可能感兴趣的:(python)