dynilib / submission

Submission is a Kaggle-like platform to manage machine learning competitions.
MIT License
36 stars 8 forks source link

Packages not found: libxml2 and libiconv #18

Open hahnicity opened 5 years ago

hahnicity commented 5 years ago

Hi I am running through your setup process for the first time and I have been getting stuck on creating the anaconda environment. The issue is when I run

docker build -t submission web/

The output is

Step 12/18 : RUN conda env create -f /tmp/env.yml
 ---> Running in 072e3598975f
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed

ResolvePackageNotFound:
  - libxml2==2.9.8=0
  - libiconv==1.15=0

Not entirely sure why this is happening considering I thought Docker was more resistant to these issues.

As a workaround to get the server to build, what I did was removed these packages from env.yml and then installed them via apt instead in the dockerfile. So it would look like

RUN apt-get install libxml2 libc6 #libiconv is contained in libc6

jian01 commented 3 years ago

I had the same issue, thank you for the workaround!