Skip to content

Mysql 8.0.33 causes issues when building mysqlclient Python package #632

Discussion options

You must be logged in to vote

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

You need to install python-dev (Debian, Ubuntu) or python-devel (CentOS) package.
(The python part may have version suffix like python3-devel or python311-devel. You need to check it by yourself.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by methane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #630 on June 29, 2023 05:56.