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/

05-11 19:50