Skip to content

ModuleNotFoundError: No module named 'pandas' when running flaml:latest with Docker #690

Description

@israel-cj

When running the following command:

python runbenchmark.py flaml:latest -m docker
I encounter the error:

ModuleNotFoundError: No module named 'pandas'

What I tried:
I attempted to fix this by forcing the installation of pandas in the Dockerfile:

RUN /bench/venv/bin/python3.9 -m pip install --no-cache-dir pandas However, this did not resolve the issue.

I fixed the latest version to 2.3.3 before running the command. The error persists despite manually adding the pandas installation step in the Dockerfile.

Could you please advise on how to resolve this issue or if there’s a missing dependency in the Docker setup?

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

    DocumentationSomething needs to be added or fixed in the documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions