Skip to content

Installation issue with pip inside Debian Docker image #581

Description

@greenguy33

Hi everyone,

I've been using desbordante==2.3.2 in a local project with Python 3.12 CPython on my local MacOS machine. I'm now trying to port my project into a Docker container using the Docker pre-built Python:3.12 Cpython image which uses Debian linux. Upon pip installation, I am met with an error that no matching distributions can be found for desbordante. This issue only happens with desbordante, and not any of the other 20+ dependencies I am installing which all install fine within the Docker using pip.

I am specifically installing using this command, where desbordante is one of the dependencies in requirements.txt. The script successfully installs several dependencies before getting stuck on desbordante:
RUN apt-get update -y && python -m pip install --upgrade pip && pip install -r /usr/src/myproject/requirements.txt

Here is information about the Debian environment I am using:

# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian

As an additional test I removed desbordante from my list of dependencies, ran the container, and then attempted to run pip install desbordante from inside the container terminal. I saw the same error that no matching distributions could be found.

Thanks for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions