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

Error Installing torch==2.0.1+cu117: No Matching Distribution Found #32

Open
thuongvovan opened this issue Jan 24, 2025 · 1 comment
Open

Comments

@thuongvovan
Copy link

Hi team,

I encountered an error while attempting to install the project dependencies from requirements.txt. The installation fails due to an unresolved requirement for torch==2.0.1+cu117.

Steps to Reproduce:

  1. Run pip install -r requirements.txt.
  2. Error occurs during the installation of torch==2.0.1+cu117.

Error Log:

ERROR: Could not find a version that satisfies the requirement torch==2.0.1+cu117 (from -r requirements.txt (line 2)) (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1)  
ERROR: No matching distribution found for torch==2.0.1+cu117 (from -r requirements.txt (line 2))  

Expected Behavior:
Successful installation of the specified torch version.

Observed Behavior:
The version torch==2.0.1+cu117 is no longer available on PyPI. The earliest available version appears to be 2.2.0.

Possible Causes:
The specified version (2.0.1+cu117) might have been deprecated or removed.
Compatibility issues with newer systems or dependencies.

Suggested Fixes:
Update the requirements.txt to use a newer, compatible version of torch (e.g., 2.5.1 or another supported version).
Consider using a different PyTorch distribution index if the version is critical

@pierotofy
Copy link
Member

Hey @thuongvovan thanks for the report. Would you be interested in opening a PR with a fix for this? 🙏

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

2 participants