Mysql 8.0.33 causes issues when building mysqlclient Python package #632
-
Describe the bugUsing cached mysqlclient-2.2.0.tar.gz (89 kB) × Building wheel for mysqlclient (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. EnvironmentNo response How did you install libmysqlclient libraries?No response What version of mysqlclient do you use?No response Docker command to start MySQL serverNo response Minimum but complete code to reproduce# Write Python code here.
import MySQLdb
conn = MySQLdb.connect(host='127.0.0.1', port=3306, user='root')
... Schema and initial data required to reproduce.-- Write SQL here.
-- e.g. CREATE TABLE ... Commands, and any other step required to reproduce your issue.No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to install python-dev (Debian, Ubuntu) or python-devel (CentOS) package. |
Beta Was this translation helpful? Give feedback.
You need to install python-dev (Debian, Ubuntu) or python-devel (CentOS) package.
(The
python
part may have version suffix likepython3-devel
orpython311-devel
. You need to check it by yourself.)