Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

MySQLdb/_mysql.c:46:10: fatal error: Python.h: No such file or directory

sudo apt-get install mysql-server
#mysql-config is in a different package, which can be installed from (again, assuming debian / ubuntu):

sudo apt-get install libmysqlclient-dev
#if you are using mariadb, the drop in replacement for mysql, then run
sudo apt-get install libmariadbclient-dev
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fatal #No #file #directory
ADD COMMENT
Topic
Name
4+8 =