Python 3.12.1 could not find a version that satisfies the requirement safety (from versions: none)
Closed this issue · 1 comments
nocapjon commented
- safety version:3.0.1
- Python version:3.12.1
- Operating System:Alpine Linux (Docker python:3.12.1-alpine3.19)
Description
Safety fails to install due to the following error:
ERROR: Could not find a version that satisfies the requirement safety (from versions: none)
ERROR: No matching distribution found for safety
What I Did
RUN python3 -m pip install --upgrade pip==23.3.2 wheel safety==3.0.1 setuptools
nocapjon commented
This was actually a silly issue on my end. If anyone else encounters similar errors like this, check your firewall. We have a local proxy to cache packages, and our firewall was blocking access to this package in our local cache.