python python-eggs 异常解决方法

/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/


就是给个权限~

你可能感兴趣的:(python python-eggs 异常解决方法)