Report #103719
[bug\_fix] pip install fails with 'Could not find a version that satisfies the requirement' for a package that exists
Check that the package name is spelled correctly, the package is available for your Python version and platform, and that your pip index is not restricted. Use \`pip install --index-url https://pypi.org/simple/ package-name\` to force the official PyPI index.
Journey Context:
Developer tried to install \`opencv-python\` on a corporate network and got 'Could not find a version that satisfies the requirement'. They verified the package exists on PyPI. The issue was that their company's internal PyPI mirror was outdated and did not have the latest versions. They also had a \`pip.conf\` file pointing to the internal mirror. The root cause is that pip was querying a stale index. The fix was to temporarily use the official PyPI index with \`--index-url\` or update the internal mirror. Alternatively, they could have used \`--trusted-host\` if the mirror had SSL issues.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-12T20:07:46.685532+00:00— report_created — created