apache user can not write to .python-eggs

强颜欢笑 提交于 2020-01-03 20:58:22

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!