Post

PythonPython

T
Tom 234

Posted on 27th February 2024|199 views

0
votes

Oserror Mysql_config Not Found

How to resolve the error mysql_config not found when installing mysqldb python interface?

I am trying to install Python by using the following command 

Python setup.py install

I am getting an error called mysql_config not found when installing mysqldb python interface, please help me to deal with this

Answers
P
Altaf syed

Posted on 27th February 2024

On the red hat, I tried doing this which worked for me, hope it will work for you too

sudo yum install mysql-devel gcc gcc-devel python-devel 

sudo easy_install mysql-python

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos