Results 1 to 3 of 3
Hi,
I'm having these error regarding python-eggs:
The Python egg cache directory is currently set to:
/var/www/.python-eggs
Perhaps your account does not have write access to this directory? You can
...
- 05-27-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- Philippines
- Posts
- 23
Python egg cache
Hi,
I'm having these error regarding python-eggs:
The Python egg cache directory is currently set to:
/var/www/.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.
I already 'export PYTHON_EGG_CACHE=/var/cache/python-eggs' and then checked its value and I got these '/var/cache/python-eggs'
Any ideas? Can you please help me.
Thanks.
- 05-27-2009 #2
Try changing ownership to the webserver user and give the user write permission.
Eg. If its apache2, you can
chown www-data /var/www/.python-eggs
&
chmod u+w /var/www/.python-eggs
Hope that helps!
- 05-28-2009 #3Just Joined!
- Join Date
- Apr 2009
- Location
- Philippines
- Posts
- 23
Thanks for the reply.
So I should change the path of the PYTHON_EGG_CACHE to /var/www/.python-eggs? and remove the python-eggs directory from /var/cache?
Here's what will I do: (pls correct me if I'm wrong)
$chown www-data /var/www/.python-eggs
$chmod u+w /var/www/.python-eggs
$export PYTHON_EGG_CACHE=/var/www/.python-eggs
Thanks.


Reply With Quote

