当前位置:   article > 正文

python python-eggs 异常解决方法_warnings.warn(msg, userwarning)

warnings.warn(msg, userwarning)
/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/

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


就是给个权限~

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/904115
推荐阅读
相关标签
  

闽ICP备14008679号