rlworkgroup / garage

A toolkit for reproducible reinforcement learning research.
MIT License
1.84k stars 309 forks source link

"pip install garage" error on Windows 11 and Ubuntu 22.04 LTS #2339

Closed Hamza-101 closed 1 year ago

Hamza-101 commented 1 year ago

Get the following error when installing using the aforementioned command.

`ERROR: Cannot install garage==2019.10.0, garage==2019.10.1, garage==2019.10.2, garage==2019.10.3, garage==2020.6.0, garage==2020.6.1, garage==2020.6.2, garage==2020.6.3, garage==2020.6.4 and garage==2021.3.0 because these package versions have conflicting dependencies.
The conflict is caused by:
    garage 2021.3.0 depends on torch!=1.5.0, <1.8.0 and >=1.0.0
    garage 2020.6.4 depends on ray<=0.8.6
    garage 2020.6.3 depends on ray<=0.8.6    garage 2020.6.2 depends on torch<1.5.0 and >=1.0.0
    garage 2020.6.1 depends on torch<1.5.0 and >=1.0.0
    garage 2020.6.0 depends on torch<1.5.0 and >=1.0.0
    garage 2019.10.3 depends on torch==1.3.0
    garage 2019.10.2 depends on torch==1.3.0
    garage 2019.10.1 depends on torch==1.3.0
    garage 2019.10.0 depends on torch==1.3.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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts`
Hamza-101 commented 1 year ago

Tried it on Ubuntu 20.04.06LTS, installed fine.