rail-berkeley / rlkit

Collection of reinforcement learning algorithms
MIT License
2.43k stars 547 forks source link

unable to create the conda environment with linux-cpu-env.yml #145

Open Superyoutiao opened 2 years ago

Superyoutiao commented 2 years ago

coconda env create -f environment/linux-cpu-env.yml Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

It's my first time to see this problem. Is the .yml file out-of-date or should I modify it?

Superyoutiao commented 2 years ago

it seems that some old version of packages can't be found if the free channel is not used. This can be solved by execute conda config --set restore_free_channel true before install the conda env. Then I met this problem:

Pip subprocess error: parso requires Python '>=3.6' but the running Python is 3.5.2 You are using pip version 10.0.1, however version 20.3.4 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

failed

CondaEnvException: Pip failed

If I change python = 3.5.2 into python = 3.6, there will be conflicts, any suggestions?

shchdhry commented 2 years ago

Try adding - parso==0.7.1 to the pip dependencies, i.e. below -pip: in the linux-cpu-env.yml file.