rail-berkeley / rlkit

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

Default GPU Yaml file fails #124

Open richardrl opened 3 years ago

richardrl commented 3 years ago

In "linux-env-gpu.yml", it is trying to install:

- python=3.5.2

We need at least python3.6 to sucessfully install

kevin-thankyou-lin commented 3 years ago

@richardrl Did you end up getting it to work?

richardrl commented 3 years ago

@richardrl Did you end up getting it to work?

Just change it to python3.6

kevin-thankyou-lin commented 3 years ago

Is that all you did?

`conda env create -f linux-gpu-env.yml 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:

Tried tinkering with versions etc earlier but didn't seem to work

JayanthRR commented 3 years ago

Is that all you did?

`conda env create -f linux-gpu-env.yml 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:

  • numba==0.35.0=np111py35_0
  • joblib=0.9.4
  • matplotlib==2.0.2=np111py35_0`

Tried tinkering with versions etc earlier but didn't seem to work

I faced the same issue. I tried moving these packages under pip in the yml file and the installation seems to work fine, but I am unable to import properly.