google-research / rliable

[NeurIPS'21 Outstanding Paper] Library for reliable evaluation on RL and ML benchmarks, even with only a handful of seeds.
https://agarwl.github.io/rliable
Apache License 2.0
747 stars 46 forks source link

Package issue: #2

Closed xkianteb closed 2 years ago

xkianteb commented 2 years ago

The package structure is messed up when attempting to install the code from the GitHub repo using "pip install -e ." In particular the problem is that the package name is "rliable" but "rliable" is not a folder in the repo. To fix this you need to create a folder and move all the python files inside it i.e.

[1] Create a folder called rliable

[2] Then move all the *.py files inside this folder. Below is the what the new folder structure would look like.

CITATION.bib CONTRIBUTING.md images/ LICENSE README.md setup.py rliable/

Making this change allows me to be able to run "from rliable import library" successfully.

agarwl commented 2 years ago

Thanks for pointing this out :) Fixed now.