问题
I have read that I need to set the PYTHON_EGG_CACHE
environment variable, or install the python library as an uncompressed .egg
Which do you suggest?
回答1:
I got it working by uncompressing the .egg so it did not require the cache directory:
Install MySQLdb (for python) as non-compressed egg
回答2:
It totally depends on if you want to make the egg available as a generally available library or just for a single (or a handful of applications). Are you talking about a Trac installation? If so, there are also a handful of alternatives to make the egg available per instance:
http://trac.edgewall.org/wiki/TracPlugins
回答3:
If you are talking about Trac then the issue you are having is this one. It should be solved in trac 0.11.1.
来源:https://stackoverflow.com/questions/268015/apache-user-can-not-write-to-python-eggs