UserWarning: /home/toddler/.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)
权限问题:
修改下文件的权限就好了。
chmod g-wx,o-wx ~/.python-eggs
原文解决办法:http://stackoverflow.com/questions/17626694/remove-python-userwarning
时间: 2024-10-13 09:14:29