katerakelly / oyster

Implementation of Efficient Off-policy Meta-learning via Probabilistic Context Variables (PEARL)
MIT License
472 stars 125 forks source link

ResolvePackageNotFound building Docker image #16

Closed YaNgZhAnG-V5 closed 4 years ago

YaNgZhAnG-V5 commented 4 years ago

Hi I'm trying to build a Docker image on an Ubuntu virtual machine. During the execution of RUN conda env update -f /tmp/environment.yml && conda clean --all -y I've encountered failure. The error message is pasted in below:

Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed

ResolvePackageNotFound: 
  - readline==6.2=2
  - sqlite==3.13.0=0
  - icu==54.1=0
  - python==3.5.2=0
  - libiconv==1.14=0
  - libxml2==2.9.4=0
  - mako==1.0.6=py35_0
  - pyqt==5.6.0=py35_2
  - freetype==2.5.5=2
  - numba==0.35.0=np111py35_0
  - qt==5.6.2=5
  - matplotlib==2.0.2=np111py35_0
  - python-dateutil==2.6.1=py35_0
  - path.py==10.3.1=py35_0
  - fontconfig==2.12.1=3
  - tk==8.5.18=0
  - joblib==0.9.4=py35_0

My virtual machine is running Ubuntu 18.04 LTS.

YaNgZhAnG-V5 commented 4 years ago

I've managed to solve this issue. This is because 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.