Django 1.6 IOError

Yáb*_*cia 2 django ioerror

我已将我的django版本从1.5.2升级(如果我不记得不好)到1.6,现在当我在localhost上执行我的项目时,我收到此错误:

IOError at /
[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/EGG-INFO/top_level.txt'
Request Method: GET
Request URL:    http://localhost:8000/
Django Version: 1.6.1
Exception Type: IOError
Exception Value:    
[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/EGG-INFO/top_level.txt'
Exception Location: /usr/local/lib/python2.7/dist-packages/pkg_resources.py in _get, line 1320
Python Executable:  /usr/bin/python
Python Version: 2.7.5
Run Code Online (Sandbox Code Playgroud)

Jon*_*Jon 5

它看起来像一个权限错误.尝试使用chmod命令更改权限(http://www.thegeekstuff.com/2010/06/chmod-command-examples/).

例如

sudo chmod -R 755 problematic_folder
Run Code Online (Sandbox Code Playgroud)