Python 链接 Mysql 操做异常

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).python

  warnings.warn(msg, UserWarning)shell


权限问题:ide

修改下文件的权限就行了。code

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


原文解决办法:http://stackoverflow.com/questions/17626694/remove-python-userwarning rem

相关文章
相关标签/搜索