Skip to content

Not able to import pandas in docker container using python:3.8 #848

Closed
@YaswanthDara

Description

@YaswanthDara
Linux machine:- Rocky Linux 8.5
Docker version:- 24.0.2 

Dockerfile

FROM python:3.8

RUN apt-get update && apt-get install -y vim
RUN apt-get update && \
    apt-get install -y python3-venv && \
    python3 -m venv gdmt_venv && \
    . gdmt_venv/bin/activate && \
    pip install --upgrade pip

RUN python3 -m pip install --trusted-host pypi.python.org -r requirements.txt
WORKDIR /app
Screenshot 2023-07-03 at 10 43 55 AM

I tried importing pandas inside the docker image using the python shell and got same issue.

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