SforAiDl / genrl

A PyTorch reinforcement learning library for generalizable and reproducible algorithm implementations with an aim to improve accessibility in RL
https://genrl.readthedocs.io
MIT License
402 stars 59 forks source link

pip install torch version conflict #406

Open JHZhou123 opened 2 years ago

JHZhou123 commented 2 years ago

Hi,

I have torch 1.9.0, there is a conflict when I tried to install genrl, can you help me with it?

ERROR: Cannot install genrl==0.0.1 and genrl==0.0.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    genrl 0.0.2 depends on torch==1.4.0
    genrl 0.0.1 depends on torch==1.4.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
sampreet-arthi commented 2 years ago

Hey, we've actually not tested it with newer versions of Pytorch as the project is currently inactive. Please try using torch 1.4.0 and see if it works. In case, you want to make it work with torch 1.9.0, try to install each of the packages in the requirements.txt individually using pip so that the latest versions are installed.