putonti / virMine

MIT License
18 stars 5 forks source link

problem with pip while building image #7

Open roltim00 opened 3 years ago

roltim00 commented 3 years ago

Hello,

when trying to build the image with sudo docker build -t virmine .

I get the following errror: ... E: Unable to locate package python-pip E: Package 'ipython' has no installation candidate The command '/bin/sh -c apt-get update && apt-get install -y curl vim csh python2.7 python2.7-dev gcc g++ unzip make git bzip2 zlib1g-dev ncurses-dev wget python-pip ipython build-essential python-pkg-resources python-setuptools ncbi-blast+ cmake' returned a non-zero code: 100

How can I fix that problem?

Thanks

Tim

schackartk commented 2 years ago

Hi Tim,

I am having the same problem when building on my Windows machine running Ubuntu 20.04 via WSL2.

According to this stack overflow post, pip for Python 2 is not included on the Ubuntu 20.04 repositories.

I am currently working on editing their Dockerfile following the suggestions in that stack overflow post. I will submit a pull request if I can get it working.

-Ken