首页 > 数据库技术 > 详细

Python 连接 Mysql 操作异常

时间:2015-02-07 16:01:41      阅读:428      评论:0      收藏:0      [点我收藏+]

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


Python 连接 Mysql 操作异常

原文:http://my.oschina.net/u/2003106/blog/376373

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!