标签:
Python
import MySQLdb
有可能报:site-packages/pkg_resources.py:1031: UserWarning: /home/***/.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-eggs加权限:chmod g-wx,o-wx .python-eggs/
标签:
原文地址:http://www.cnblogs.com/kevinkevin/p/4373633.html