Skip to content

error when building the docker environment #86

@gobears21

Description

@gobears21

=> ERROR [6/6] RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ && pip install --no-cache-dir -e . 203.8s

[6/6] RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ && pip install --no-cache-dir -e .:
#0 1.101 Looking in indexes: https://mirrors.aliyun.com/pypi/simple/, https://pypi.ngc.nvidia.com
#0 2.217 Collecting torch==1.8.0
#0 3.268 Downloading https://mirrors.aliyun.com/pypi/packages/89/c1/72e9050d3e31e4df983f6e06799a1a4c896427c1e5645a6d810940944b60/torch-1.8.0-cp38-cp38-manylinux1_x86_64.whl (735.5 MB)
#0 153.8 Collecting torchvision==0.9.0
#0 155.4 Downloading https://mirrors.aliyun.com/pypi/packages/f8/06/6fca0c94a0e797038f654b71d7ec3ae1fbce33180afb6c78bc73f1839856/torchvision-0.9.0-cp38-cp38-manylinux1_x86_64.whl (17.3 MB)
#0 183.8 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Read timed out. (read timeout=15)")': /pypi/simple/pandas/
#0 199.4 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Read timed out. (read timeout=15)")': /pypi/simple/pandas/
#0 202.9 ERROR: Could not install packages due to an OSError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
#0 202.9


Dockerfile:17

16 | WORKDIR /lanedet
17 | >>> RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ &&
18 | >>> pip install --no-cache-dir -e .
19 |

ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ && pip install --no-cache-dir -e ." did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions