Posted by & filed under Apache.

Получил следующую ошибку:

"ExtractionError: 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: '//.python-eggs'

The Python egg cache directory is currently set to:

  //.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory."

Проблема проявилась при рестарте сервера, так как я раньше перезапускал сервер apache так:

service httpd restart

и в данном случае яйца питона ссылались сюда:

/var/www/.python-eggs

Проблему решил быстро и просто (хотя может и нечисто) в корне написал:

ln -s /var/www/.python-eggs /.python-eggs
Опубликовать в Facebook
Опубликовать в Google Plus

Leave a Reply

You must be logged in to post a comment.