Skip to content

_mysql.c:44:10: fatal error: my_config.h: No such file or directory

Notifications You must be signed in to change notification settings

SyXuan/Python2.7-MySQLdb-my_config.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python2.7-MySQLdb-my_config.h

_mysql.c:44:10: fatal error: my_config.h: No such file or directory

Introduction

If running the pip script shows the following error message:

$ pip install MySQL-python
...
_mysql.c:44:10: fatal error: my_config.h: No such file or directory
...

Copy the my_config.h file to /usr/include/mysql/

$ sudo wget https://raw.githubusercontent.com/SyXuan/Python2.7-MySQLdb-my_config.h/main/my_config.h -P /usr/include/mysql/

Reference

https://stackoverflow.com/questions/62087499/failing-to-install-mysql-python
Forked from https://github.com/paulfitz/mysql-connector-c

About

_mysql.c:44:10: fatal error: my_config.h: No such file or directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages