Collecting mariadb
Using cached mariadb-1.1.5.post3.tar.gz (82 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
Γ Getting requirements to build wheel did not run successfully.
β exit code: 2
β°β> [1 lines of output]
MariaDB Connector/Python requires MariaDB Connector/C >= 3.3.1, found version 3.2.7
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Γ Getting requirements to build wheel did not run successfully.
β exit code: 2
β°β> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: pip install --upgrade pip
You canβt install a newer version than Fedora has built, but you can install an older version of the Python package. The previous version appears to work:
$ pip3 install mariadb==1.1.4
Collecting mariadb==1.1.4
Downloading mariadb-1.1.4.zip (97 kB)
ββββββββββββββββββββββββββββββββββββββββ 97.4/97.4 kB 4.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for mariadb, since package 'wheel' is not installed.
Installing collected packages: mariadb
Attempting uninstall: mariadb
Found existing installation: mariadb 1.1.2
Uninstalling mariadb-1.1.2:
Successfully uninstalled mariadb-1.1.2
Running setup.py install for mariadb ... done
Successfully installed mariadb-1.1.4
(Note, you also need to dnf install gcc if you havenβt already.)
Mariadb is available for direct install from the fedora repo
# dnf list mariadb
Last metadata expiration check: 3:03:07 ago on Sun 22 Jan 2023 03:50:45 PM CST.
Installed Packages
mariadb.x86_64 3:10.5.18-1.fc37 @updates
It is not necessary to install it piecemeal with python or pip.