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

相關文章
相關標籤/搜索