I’m trying to install pylibmc in a Python 3.13 virtual environment on macOS, but the build fails with the following error: Building wheel for pylibmc (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for pylibmc (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [6 lines of output] In file included from src/_pylibmcmodule.c:34: src/_pylibmcmodule.h:42:10: fatal error: 'libmemcached/memcached.h' file not found 42 | #include <libmemcached/memcached.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. error: command '/usr/bin/clang' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pylibmc Failed to build pylibmc error: failed-wheel-build-for-install Environment: • macOS (Apple Silicon) • Python 3.13 in a venv • pip installing pylibmc via pip install pylibmc It seems like the build can’t find libmemcached/memcached.h. How can I install the required dependencies for pylibmc on macOS so that the installation works? Continue reading...