centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' failed with

要想使python能够操做mysql 就须要MySQL-python驱动,它是python 操做mysql必不可少的模块。html 下载地址:https://pypi.python.org/pypi/MySQL-python/python 下载MySQL-python-1.2.5.zip 文件以后直接解压。进入MySQL-python-1.2.5目录:mysql python setup.py i
相关文章
相关标签/搜索