Skip to content

Issues with requirements in Anaconda environment? #130

Discussion options

You must be logged in to vote

I am on Win11.

0.) I added C:\ProgramData\Anaconda3\Scripts to path in the system variables

1.) I started Powershell with Admin rights and updated conda with
conda update -n base -c defaults conda

2.) With
conda create -n AIRenvCONDApy36 python=3.6
I created the environment in C:\Users\username.conda\envs\AIRenvCONDApy36

3.) conda activate AIRenvCONDApy36

4.) cd 'D:\LinkToPyProjects\air-2023-group24'

5A) pip install -r requirements.txt
returns:
ERROR: Could not find a version that satisfies the requirement torch==1.6.0 (from versions: 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)
ERROR: No matching distribution found for torch==1.6.0

5B) If I delete the row
torch==1.6.0

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mandoway
Comment options

Answer selected by Joerg0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants