我是全新的网络应用开发。开始申请后,我对django有个问题。我得到以下错误:
ExtractionError at /
Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Errno 13] Permission denied: '/usr/local/pylons'
The Python egg cache directory is currently set to:
/usr/local/pylons/python-eggs
在回答了其他一些问题后,我补充说:
os.environ['PYTHON_EGG_CACHE'] = '/usr/local/pylons/python-eggs'
到我的网站wsgi文件。还是一样的错误。我是apache新手,不知道如何“向apache用户授予权限”。我该怎么做?我在OSX山狮上。你知道吗
看起来apache正在为另一个网站提供服务。尝试使用
python manage.py runserver
启动django开发服务器,然后将浏览器指向localhost:8000
,这是django站点应该位于开发服务器上的位置。你知道吗相关问题 更多 >
编程相关推荐