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

pip installed with conda in container not found #301

Open
sorenwacker opened this issue Jun 23, 2022 · 1 comment
Open

pip installed with conda in container not found #301

sorenwacker opened this issue Jun 23, 2022 · 1 comment

Comments

@sorenwacker
Copy link

FROM continuumio/miniconda3

ENV PYTHONUNBUFFERED=1

RUN mkdir /static

RUN apt update && apt install -y build-essential time libgraphviz-dev graphviz time

RUN conda install -c conda-forge python==3.10 pip

COPY requirements.txt requirements.txt

RUN pip install -r requirements.txt

COPY ./app/ /app/

WORKDIR /app/

Step 7/10 : RUN pip install -r requirements.txt
---> Running in eab22ee7b4fe
/bin/sh: 1: pip: not found

@dlesz
Copy link

dlesz commented Jun 23, 2022

Can you share your complete stack trace?

I just built the following image locally and tapped into the running image docker run -it <IMAGE_NAME> bash verifying all expected dependencies from the Dockerfile below.

FYI: no need to conda install pip as it is included by default in both miniconda and anaconda.

FROM continuumio/miniconda3

ENV PYTHONUNBUFFERED=1

RUN mkdir /static

RUN apt update && apt install -y build-essential time libgraphviz-dev graphviz time

RUN conda install -c conda-forge python==3.10

RUN pip install graphviz

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