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 W pip install venv_requirements.txt #2

Open
lachiemarloww opened this issue Apr 5, 2023 · 2 comments
Open

ERROR W pip install venv_requirements.txt #2

lachiemarloww opened this issue Apr 5, 2023 · 2 comments

Comments

@lachiemarloww
Copy link

(FRIDAY) NO-MacBook-Pro desktop % pip install venv_requirements.txt
ERROR: Could not find a version that satisfies the requirement venv_requirements.txt (from versions: none)
ERROR: No matching distribution found for venv_requirements.txt
(FRIDAY) NO-MacBook-Pro desktop % python3 --version
Python 3.7.0

There is also an error with

(ayo) NO-MacBook-Pro desktop % pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113

Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.1.0.post2, 1.2.0, 1.3.0, 1.3.0.post2, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1)
ERROR: No matching distribution found for torch==1.12.1+cu113

@gia-guar
Copy link
Owner

gia-guar commented Apr 5, 2023

My bad, I forgot a -r flag. Thanks for raising the issue. Try then running: pip install -r venv_requirements.txt

About the lacking version of torch I'm not confident with OSX but try to run the associated install line at PyTorch Website https://pytorch.org/get-started/previous-versions/ which turns out to be pip install torch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1

EDIT: I'm not that experienced with PyTorch on OSX but, as far as I know, CUDA is supported only on NVIDIA graphic cards. You should make sure that CUDA is available on your device.

@ChristianSch
Copy link

There's MPS for macOS and it works fine with pytorch: https://pytorch.org/docs/stable/notes/mps.html

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

3 participants