我正在使用 Django 1.5.5 进行开发,我最近安装了 django-rest-framework 和 django-rest-auth。我必须将我的六个安装从 1.6.0 升级到 >1.9.0 才能使其正常工作,但现在我收到了这个错误:
Request Method: GET
Request URL: http://192.168.1.230:8080/
Django Version: 1.5.5
Exception Type: ImportError
Exception Value:
No module named http_client
Exception Location: /home/XXXX/www/PROJECT/buildout/eggs/djangorestframework-3.2.4-py2.7.egg/rest_framework/response.py in <module>, line 11
Python Executable: /home/XXXX/www/PROJECT/buildout/bin/python
Python Version: 2.7.6