Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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

# For Python 3.* and Debian in particular, I needed
sudo apt install libpython3.*-dev #you can put python version num instead of '*'
Comment

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
Comment

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
Comment

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
Comment

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
Comment

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
Comment

PREVIOUS NEXT
Code Example
Python :: python udp receive 
Python :: random word py 
Python :: python not null 
Python :: get current directory python 
Python :: scatter plot plotly 
Python :: python get dates between two dates 
Python :: hypixel main ip 
Python :: string to float python pandas 
Python :: python title case 
Python :: CUDA error: device-side assert triggered 
Python :: django create model from dictionary 
Python :: why men are better than woman 
Python :: how to convert input to uppercase in python 
Python :: not scientific notation python 
Python :: position of legend matplotlib 
Python :: how do i create a file in specific folder in python 
Python :: scoop bucket add extras 
Python :: python selenium type in input 
Python :: python iterate over multidimensional dictionary 
Python :: how to print all rows in pandas 
Python :: python control browse mouse selenium 
Python :: todense() 
Python :: how to increment date by one in python 
Python :: python drop axis 
Python :: limpiar consola en python 
Python :: how to export data from mongodb python 
Python :: python program to display the current date and time 
Python :: add background image in django uploaded file 
Python :: sin and cos in python 
Python :: get columns that contain null values pandas 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =