pip install broken for Debian Bookworm / Oracle MySQL #638
-
Describe the bugWhen trying to install on Debian Bookworm (12) with Oracle MySQL I get the following error:
Everything works fine with I saw in another bug report I need to fiddle around with FLAGS? But why is this suddenly necessary? 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: 3 comments 4 replies
-
pkg-config is needed from 2.2. So it doesn't mean you are not missing pkg-config.
Because MySQL broke mysql_config. I need to switch to pkg-config. |
Beta Was this translation helpful? Give feedback.
-
The issue (as pointed in another thread):
not sure why openssl is required now and not before, but installing Maybe it makes sense to be more verbose with the installation so this can be caught by a user? |
Beta Was this translation helpful? Give feedback.
-
On RHEL9 it seems that there's a different package name in pkg-config:
|
Beta Was this translation helpful? Give feedback.
The issue (as pointed in another thread):
not sure why openssl is required now and not before, but installing
libssl-dev
fixed the issue.Maybe it makes sense to be more verbose with the installation so this can be caught by a user?