mysqlclient 2.3.1
#943 by downloads · PyPI
| Platform | 3.13 | 3.14 | 3.14t | 3.15 | 3.15t |
|---|---|---|---|---|---|
| Linux x86_64 | from source | from source | from sourcebuilds from source in 3 s and imports, GIL stays off | from source | from source |
| Linux ARM64 | from source | from source | from source | from source | from source |
| Alpine x86_64 | from source | from source | from source | from source | from source |
| Alpine ARM64 | from source | from sourcefails to build: needs a system library | from source | from source | from source |
| macOS Apple silicon | from source | from source | from source | from source | from source |
| macOS Intel | from source | from source | from source | from source | from source |
| Windows x86_64 | wheel | wheel | wheel | wheel | wheel |
| Windows ARM64 | wheel | wheel | wheel | wheel | wheel |
| Pyodide (browser) | can't install | bundledPyodide 314.0.7 ships 2.2.8, older than the latest | n/a | n/a | n/a |
bundled: there's no wheel on PyPI for Pyodide, but Pyodide ships its own build of this package, often an older version than the one shown here. The cell names the Pyodide release and the version it ships.
Why? uvx wheelgap mysqlclient==2.3.1 -p 3.15 -t all --explain
Build lab
A dated observation on GitHub's runners, not a promise about your machine: runners come with compilers and many system libraries preinstalled, so a build that works there can still need setup on your machine.
| Target | From source | Details |
|---|---|---|
| 3.14 musl-aarch64 | fails fails to build: needs a system library | ubuntu-24.04-arm, Python 3.14.10, 2026-11-15 · runlog/bin/sh: pkg-config: not found | /bin/sh: pkg-config: not found | note: This error originates from a subprocess, and is likely not a problem with pip. | ERROR: Failed to build 'mysqlclient' when getting requirements to build wheel |
| 3.14t linux-x86_64 | works builds from source in 3 s and imports, GIL stays off | ubuntu-24.04, Python 3.14.10t, 2026-11-15 · run |
Notes
mysqlclient has Windows wheels only. To build it on Linux, install the Python and MySQL development headers first, as its README lists: sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config on Debian/Ubuntu, or sudo yum install python3-devel mysql-devel pkgconfig on Red Hat/CentOS. Then pip install mysqlclient.
Workaround · Linux x86_64, Linux ARM64 · checked 2026-11-11
Know a workaround, an alternative package, a conda-forge build or an upstream issue for mysqlclient? Add a note (a pull request on GitHub; the format is in notes/README.md).
Badge for your README
[](https://wheelgap.github.io/tracker/#package=mysqlclient)