Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages not found: libxml2 and libiconv #18

Open
hahnicity opened this issue Sep 6, 2019 · 1 comment
Open

Packages not found: libxml2 and libiconv #18

hahnicity opened this issue Sep 6, 2019 · 1 comment

Comments

@hahnicity
Copy link

hahnicity commented Sep 6, 2019

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
Copy link

jian01 commented Nov 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants