Having moved to Python 3.11, I need to update Connector/Python - which requires the MariaDB Connector/C library.
This library is normally installed with
python -m pip install mariadb
But I'm getting an error:
MariaDB Connector/Python requires MariaDB Connector/C >= 3.3.1, found version 3.1.20
I can't see an ARM distribution for Connector/C on the mariadb pages, so I downloaded and build from source. All good.
- How do I install the newly built library?
- Or even remove the old version so the pip install will pick up the connect version?
mariadb server is '10.3.38-MariaDB-0+deb10u1 Raspbian 10', working fine. Just cannot connect to it from Python!