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/

就是给个权限~

WHY·LIAM wechat
记录生活,研究产品,分享设计,分析数据,讨论科技和商业,不定期扯淡。
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!