EnvironmentError: mysql_config not found】的更多相关文章

安装mysql-python包出错 Downloading MySQL-python-.zip (108kB) % |████████████████████████████████| 112kB 155kB/s Complete output from command python setup.py egg_info: : mysql_config: not found Traceback (most recent call last): File , in <module> File ,…
$ pip install MySQL-python==1.2.5 报错: EnvironmentError: mysql_config not found 原因是缺少包 libmysqlclient-dev $ sudo apt-get install libmysqlclient-dev…
代码:root@vpser:~# cd MySQL-python-1.2.3root@vpser:~/MySQL-python-1.2.3# python setup.py install sh: mysql_config: not foundTraceback (most recent call last):  File "setup.py", line 15, in <module>    metadata, options = get_config()  File &…
mysql-python安装时EnvironmentError: mysql_config not found 在安装 mysql-python时,会出现: 复制代码 sh: mysql_config: not found Traceback (most recent call last): File "setup.py", line 15, in metadata, options = get_config() File "/home/zhxia/apps/source/M…
要想使python可以操作mysql 就需要MySQL-python驱动,它是python 操作mysql必不可少的模块. 下载地址:https://pypi.python.org/pypi/MySQL-python/ 下载MySQL-python-1.2.5.zip 文件之后直接解压.进入MySQL-python-1.2.5目录: python setup.py install 报错: [root@centos7 MySQL-python-1.2.4]# python setup.py ins…
centos7下使用python类库MySQL-python操作mysql.pip安装类库:pip install MySQL-python报错提示:mariadb EnvironmentError: mysql_config not found 安装mysql-devel:yum -y install mysql-devel 执行pip install MySQL-python,又出现报错:error: command 'gcc' failed with exit status 1 这是由于没…
centos7下python安装mysql-python模块,执行命令: pip install mysql-python 出现报错:EnvironmentError: mysql_config not found 网上查了一下需安装mysql-devel yum -y install mysql-devel 安装成功后,执行命令python setup.py install 又出现报错:error: command 'gcc' failed with exit status 1 明明装了gcc…
报错信息如下: Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip (108kB) 100% |████████████████████████████████| 112kB 18.8MB/s Complete output from command pytho…
安装时候的日志如下: sh: : mysql_config: not found Traceback (most recent call last): File , in <module> File , in <module> metadata, options = get_config() File , in get_config libs = mysql_config("libs_r") File , in mysql_config raise Enviro…
pip install mysql-python 然后报错 EnvironmentError: mysql_config not found 网上搜解决方法,需要安装   mysql-devel 然后 yum install mysql-devel 也无法安装,报错内容大概是和mysql版本相关的问题 解决方法 自己下载和自己mysql版本匹配的mysql-devel 1.查看安装了什么版本的mysql和相关的包 rpm -qa | grep mysql mysql-community-clie…