python python-eggs 异常解决方法

1
/Application/bermuda/lib/python2.6/site-packages/pkg\_resources.py:1054: UserWarning: /home/refresh/.python-eggs is writable by group/others and vulnerable to attack when used with get\_resource\_filename. Consider a more secure location (set with .set\_extraction\_path or the PYTHON\_EGG_CACHE environment variable). warnings.warn(msg, UserWarning)

解决办法

进入 /home/refresh/

1
chmod g-wx,o-wx .python-eggs/

就是给个权限~

The Why·Liam·Blog by WhyLiam is licensed under a Creative Commons BY-NC-ND 4.0 International License.

WhyLiam创作并维护的Why·Liam·Blog采用创作共用保留署名-非商业-禁止演绎4.0国际许可证

本文首发于Why·Liam·Blog (https://blog.naaln.com),版权所有,侵权必究。

本文永久链接:https://blog.naaln.com/2013/10/python-python-eggs-unusual-solution/