p-christ / Deep-Reinforcement-Learning-Algorithms-with-PyTorch

PyTorch implementations of deep reinforcement learning algorithms and environments
MIT License
5.66k stars 1.2k forks source link

Instructions require python 3.5-3.7 #64

Open gth828r opened 3 years ago

gth828r commented 3 years ago

I was following the setup instructions with Miniconda on a fresh Ubuntu 20.04 install, and I was getting the following error:

$ pip3 install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement torch==0.4.1-post2
ERROR: No matching distribution found for torch==0.4.1-post2

It doesn't look like torch 0.4.1-post2 is supported for python 3.8: https://anaconda.org/pytorch/pytorch/files?version=0.4.1

In order to resolve this, I downgraded my python version from 3.8.5 to 3.7.9. The instructions should probably mention this constraint.