Skip to content

Docker build fails due to symlink conflict and deprecated setup.py install #37

@M4cr0Chen

Description

@M4cr0Chen

Hi team, when I'm running the docker build command the docker build fails with the following two issues:

  1. ln -s /usr/bin/pip3 /usr/bin/pip fails. This is because pip3 install --upgrade pip (line 13) already creates /usr/bin/pip, so the subsequent ln -s errors with "File exists".

Suggested Fix: use ln -sf to force overwrite.

  1. python setup.py install fails to install pandas. Since the setup.py install uses easy_install, which pulls pandas 3.0.1. That version requires Python 3.9+ and uses pyproject.toml, so easy_install can't find a setup script.

Suggested Fix: replace python setup.py install with pip install ., which correctly resolves pandas to a Python 3.8-compatible version.

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