'Installing python3.x-dev in a docker image of python:3.x-slim-buster?
I have a python:3.9-slim-buster docker image, and I want to install python3.9-dev in it which will throw an error at me.
FROM python:3.9-slim-buster
RUN apt update && apt install -y bash make git zip wget
<some other code Here>
RUN apt update && apt install -y libpq-dev gcc python3-dev python3-pip
here is the error I get:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python3.9-dev
E: Couldn't find any package by glob 'python3.9-dev'
E: Couldn't find any package by regex 'python3.9-dev'
The command '/bin/sh -c apt update && apt install -y libpq-dev gcc python3.9-dev' returned a non-zero code: 100
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
