Report #69264
[bug\_fix] pip install fails with 'No matching distribution found' or builds from source and fails on ARM64/Apple Silicon
Use 'arch -x86\_64 pip install' on macOS to force Rosetta2, or on Linux use '--platform manylinux\_2\_17\_aarch64' with '--only-binary :all:' if available, or install build dependencies to compile from source.
Journey Context:
Developer on an Apple M2 Mac runs 'pip install grpcio'. Pip downloads the source tar.gz and attempts to compile, failing with clang errors about missing headers. Developer checks PyPI and sees grpcio has 'manylinux\_2\_17\_x86\_64.whl' but no 'arm64' wheel for their platform. They realize pip is not finding a compatible wheel. On an ARM Linux server, they see 'No matching distribution found' for a package that clearly exists. They learn that pip's compatibility tags must match the platform exactly. For the Mac, they use 'arch -x86\_64 python -m pip install grpcio' to force Rosetta2 emulation which can use the x86\_64 wheel. For the Linux ARM case, they realize the package only provides x86\_64 wheels and they must build from source, installing build dependencies first, or wait for upstream to publish manylinux\_aarch64 wheels.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:44:35.881760+00:00— report_created — created