google-research / robustness_metrics

Apache License 2.0
462 stars 33 forks source link

Add documentation about requirements and dependencies for installation on fresh conda env #1

Open tlacombe opened 3 years ago

tlacombe commented 3 years ago

Hello,

I tried installing this library by cloning the github repo and then running python setup.py install as indicated (on a fresh conda env) but unfortunately it did not work immediately.

Code to reproduce the issues (note that of course it may depends on the way conda is set up for the user) :

conda create env --name robustness
conda activate robustness
pip setup.py install 

Trying iteratively, I managed to complete the installation (note that I did not try running the code yet) using: condra create env --name robustness python=3.8 setuptools numpy=1.19.2 protobuf=3.9 absl-py=0.10 (and then python setup.py install).

I hope this helps; if needed I can provide more logs.

josipd commented 3 years ago

Thanks for reporting and for the detailed analysis on the issue, I'll reproduce this on a fresh install and get back to you.