Skip to content

[Bug] Failing docker image build #21

Open
@loopyd

Description

Following instructions in docker/README.md:

docker build -t interpany:v0 -f docker/Dockerfile .
136.1 ERROR: Ignored the following versions that require a different python version: 1.2.0 Requires-Python >=3.9; 1.2.1 Requires-Python >=3.9; 1.2.1rc1 Requires-Python >=3.9; 1.3.0 Requires-Python >=3.9; 1.3.1 Requires-Python >=3.10; 1.9.0 Requires-Python >=3.9; 2.36.0 Requires-Python >=3.9; 3.1.0 Requires-Python >=3.9
136.1 ERROR: Could not find a version that satisfies the requirement install==1.3.5 (from versions: none)
136.1 ERROR: No matching distribution found for install==1.3.5
------
Dockerfile:35
--------------------
  34 |     COPY . /InterpAny-Clearer
  35 | >>> RUN source ~/.bashrc \
  36 | >>>     && cd /InterpAny-Clearer \
  37 | >>>     && conda create -n InterpAny python=3.8 -y\
  38 | >>>     && source activate InterpAny \
  39 | >>>     && pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu116 \
  40 | >>>     && pip install -r requirements.txt \
  41 | >>>     && conda clean -y --all\
  42 | >>>     && pip cache purge 
  43 |     
--------------------
ERROR: failed to solve: process "/bin/bash -c source ~/.bashrc     && cd /InterpAny-Clearer     && conda create -n InterpAny python=3.8 -y    && source activate InterpAny     && pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu116     && pip install -r requirements.txt     && conda clean -y --all    && pip cache purge" did not complete successfully: exit code: 1

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