Giter Site home page Giter Site logo

Comments (3)

walt-1 avatar walt-1 commented on July 20, 2024 1

I did the same and was still getting...
The command '/bin/sh -c apt-get -yqq install python-pip python-dev' returned a non-zero code: 100
so i changed the base image to FROM ubuntu:latest in the Dockerfile which fixed the problem!

from foodtrucks.

prakhar1989 avatar prakhar1989 commented on July 20, 2024

Thanks for pointing this out. Changed the Dockerfile to ubuntu:latest.

from foodtrucks.

danmostudco avatar danmostudco commented on July 20, 2024

Sorry to dredge this up from a long time ago, I was trying out this tutorial this past weekend - it's great and I have really enjoyed it! I'm trying to get the flask application image to build and ran into a similar issue.

I can't get ubuntu to install pip - here is the error message I get during Step 4/13 : RUN apt-get -yqq install python-pip python-dev curl gnupg. I tried the above removing of the yqq flag and didn't have any luck.

E: Unable to locate package python-pip
The command '/bin/sh -c apt-get -yqq install python-pip python-dev curl gnupg' returned a non-zero code: 100

Any thoughts on how I might get the image building? Thanks so much for the great resource; hoping I can get to the finish line!

EDIT: For what it's worth I changed ubuntu:latest to ubuntu:19.10 and the package seemed to build, albeit quite slowly. But hopefully this will work in the interim.

from foodtrucks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.