MySQLdb 1031 Error

Pythonpython

import MySQLdbide

有可能报: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).get

修改方式给.python-eggs加权限:chmod g-wx,o-wx .python-eggs/it

相关文章
相关标签/搜索