Rocky Linux 9 MySQL error during install

Hi, I’m trying to install CyberPanel on fresh Rocky Linux 9 system.
Full install, no remote mysql, watchodog yes.
My setup stops here:

Collecting mysqlclient==2.0.1
Using cached mysqlclient-2.0.1.tar.gz (87 kB)
Preparing metadata ( … error
error: subprocess-exited-with-error

× python egg_info did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
/bin/sh: line 1: mysql_config: command not found
/bin/sh: line 1: mariadb_config: command not found
/bin/sh: line 1: mysql_config: command not found
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/tmp/pip-install-b9d247ha/mysqlclient_f66004c5c960416e86047e34caf82a1b/”, line 15, in
metadata, options = get_config()
File “/tmp/pip-install-b9d247ha/mysqlclient_f66004c5c960416e86047e34caf82a1b/”, line 65, in get_config
libs = mysql_config(“libs”)
File “/tmp/pip-install-b9d247ha/mysqlclient_f66004c5c960416e86047e34caf82a1b/”, line 31, in mysql_config
raise OSError(“{} not found”.format(_mysql_config_path))
OSError: mysql_config not found
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Tried several times, deleted install files. Nothing. can’t get past this.

Any idea how can I sort this? Didn’t found similar errors to this.


I think only rhel based OS version 7 and 8 are supported, not the v9 yet