rail-berkeley / rlkit

Collection of reinforcement learning algorithms
MIT License
2.45k stars 550 forks source link

[solved] ResolvePackageNotFound error when installing the conda environment #107

Closed PierreExeter closed 4 years ago

PierreExeter commented 4 years ago

Hello,

I solved this issue myself but I thought it could be useful to write it here in case other people face the same issue.

Installing the Linux GPU conda environment

conda env create -f linux-gpu-env.yml

returns this error:

Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - joblib=0.9.4
  - numba==0.35.0=np111py35_0
  - matplotlib==2.0.2=np111py35_0

As suggested here, I used this command instead:

CONDA_RESTORE_FREE_CHANNEL=1 conda env create -f linux-gpu-env.yml

Tested on

zadaianchuk commented 4 years ago

Should this line be in README.md? CONDA_RESTORE_FREE_CHANNEL=1 conda env create -f linux-gpu-env.yml