# ERROR: Could not find a version that satisfies the requirement <package> (from versions: none). No matching distribution found (no binary available for this platform)

- **ID:** `pip/no-binary-available-for-platform`
- **Domain:** pip
- **Category:** install_error
- **Error Code:** `ERROR`
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The requested package has no pre-built wheel for the user's platform (e.g., aarch64, 32-bit, or unsupported OS), and pip cannot build from source due to missing build dependencies or platform incompatibility.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| pip 22.0+ | active | — | — |
| Python 3.11 | active | — | — |
| aarch64 | active | — | — |

## Workarounds

1. **Enable pip to build from source by installing build dependencies: pip install <package> --no-binary :all:** (75% success)
   ```
   Enable pip to build from source by installing build dependencies: pip install <package> --no-binary :all:
   ```
2. **Use a third-party repository that provides wheels for your platform (e.g., conda-forge for aarch64): conda install -c conda-forge <package>** (85% success)
   ```
   Use a third-party repository that provides wheels for your platform (e.g., conda-forge for aarch64): conda install -c conda-forge <package>
   ```
3. **Cross-compile the wheel on a compatible machine and transfer it: pip wheel <package> --wheel-dir=./wheels/ && pip install --no-index --find-links=./wheels/ <package>** (80% success)
   ```
   Cross-compile the wheel on a compatible machine and transfer it: pip wheel <package> --wheel-dir=./wheels/ && pip install --no-index --find-links=./wheels/ <package>
   ```

## Dead Ends

- **Using --only-binary=:all: flag** — This flag forces pip to only use binary wheels, but if none exist for the platform, it will fail immediately with the same error. (100% fail)
- **Installing with --no-index and pointing to a local directory with wrong wheels** — Providing wheels built for a different architecture (e.g., x86_64 on arm64) will cause incompatible binary errors or segfaults at runtime. (90% fail)
- **Downgrading pip to an older version** — Older pip versions have the same or worse platform detection; the issue is with the package availability, not pip version. (20% fail)
