Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching distribution found for pre-commit #178

Open
michaelfromyeg opened this issue Nov 23, 2024 · 0 comments
Open

No matching distribution found for pre-commit #178

michaelfromyeg opened this issue Nov 23, 2024 · 0 comments

Comments

@michaelfromyeg
Copy link

Hitting this on the install script for computer use.

$ pip install -r dev-requirements.txt
Collecting streamlit>=1.38.0 (from -r /home/mdema/code/scout2/computer-use-demo/computer_use_demo/requirements.txt (line 1))
  Using cached streamlit-1.40.1-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting anthropic>=0.37.1 (from anthropic[bedrock,vertex]>=0.37.1->-r /home/mdema/code/scout2/computer-use-demo/computer_use_demo/requirements.txt (line 2))
  Using cached anthropic-0.39.0-py3-none-any.whl.metadata (22 kB)
Collecting jsonschema==4.22.0 (from -r /home/mdema/code/scout2/computer-use-demo/computer_use_demo/requirements.txt (line 3))
  Using cached jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB)
Collecting boto3>=1.28.57 (from -r /home/mdema/code/scout2/computer-use-demo/computer_use_demo/requirements.txt (line 4))
  Using cached boto3-1.35.68-py3-none-any.whl.metadata (6.7 kB)
Collecting google-auth<3,>=2 (from -r /home/mdema/code/scout2/computer-use-demo/computer_use_demo/requirements.txt (line 5))
  Using cached google_auth-2.36.0-py2.py3-none-any.whl.metadata (4.7 kB)
Collecting ruff==0.6.7 (from -r dev-requirements.txt (line 2))
  Using cached ruff-0.6.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 3.6.0 Requires-Python >=3.9; 3.6.1 Requires-Python >=3.9; 3.6.2 Requires-Python >=3.9; 3.7.0 Requires-Python >=3.9; 3.7.1 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 4.0.0 Requires-Python >=3.9; 4.0.1 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement pre-commit==3.8.0 (from versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.13.6, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15.0, 1.15.1, 1.15.2, 1.16.0, 1.16.1, 1.17.0, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.19.0, 1.20.0, 1.21.0, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.8.2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.12.0, 2.12.1, 2.13.0, 2.14.0, 2.14.1, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.18.1, 2.19.0, 2.20.0, 2.21.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.5.0)
ERROR: No matching distribution found for pre-commit==3.8.0

On Python 3.8.10.

I just switch the script to use Python 3.12 instead of my default Python 3 version and it worked okay! Perhaps there should be an assertion on the minor version being above 3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant