python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_config not found

raise EnvironmentError("%s not found" % (_mysql_config_path,))
OSError: mysql_config not found



解决办法

yum install mysql-devel


python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_config not found

原文地址:https://www.cnblogs.com/angdh/p/12246056.html

时间: 2024-10-11 12:24:45

python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_config not found的相关文章

pip 安装mysqlclient报错OSError: mysql_config not found

执行 pip install mysqlclient 报错信息如下: [[email protected] bin]# pip install mysqlclient Collecting mysqlclient Using cached mysqlclient-1.3.12.tar.gz Complete output from command python setup.py egg_info: /bin/sh: mysql_config: command not found Tracebac

python pip 安装redis报错

pip默认安装的是最新版本,redis和redis-py-cluster ,两个不兼容 建议按照以下方式安装: 1 pip install redis==2.10.6 2 pip install redis-py-cluster==1.3.5 原文地址:https://www.cnblogs.com/whycai/p/12635338.html

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描写叙述 使用pip依照virtualenv报错,例如以下: pip install virtualenv Collecting virtualenv /opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An

pip安装requests报错unicodeEncodeError:'ascii' codec can\t encode charactesers in position 9-12:ordinal not in range(128)

前提 : 已经安装pip(pip的安装我参考的是本博客转载脚本之家的步骤,实验可以成功) 1. 在cmd输入命令转到pip安装目录: 2. 运行后出现错误 3. 步骤2中的错误应该和编码有关.搜索百度后,解决方法: 转自:joy32812 在你python的安装目录下的Lib目录,找到site.py,修改def setencoding()方法def setencoding(): ..... .... if 0: # Enable to support locale aware default s

Python djangorestframework安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python djangorestframework 安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描述 使用pip按照virtualenv报错,如下: pip install djangorestframework Collecting djangorestframework Could not fetch URL https://pypi.python.org/simple/djangorestframework/: There was a problem co

pip安装ujson报错: error:Microsoft Visual C++ 14.0 is required

在win10上pip安装ujson报错 之前一直用的是mac本,但由于疫情问题,最近不得不用win10系统来进行python开发,在使用pip安装依赖包ujson时,遇到了问题,如下: (custom_itsm) D:\DEVELOP\items\hn_test>pip install ujson DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python

pip安装mysql_python报错

_mysql.c:29:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python2 -u -c "imp

pip 安装pycrypto 报错

pip 安装pycrypto 报src/MD2.c:31:20: error: Python.h: No such file or directory 错误解决 gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -f

python3   安装mysql-client 报错 mysql_config not found (py3 centos7)

centos7 pip3安装mysql-client时报错 "mysql_config not found " 459  yum -y install libmysqlclient-dev 460  yum -y install libmysqlclient-devel 464  yum -y install libmysqlclient-devel 473  yum -y install mysql-python 474  yum install python-devel 475