Skip to content

Default docker install instructions shows scary errors and seems to fail... #1437

Description

@iislucas

(MacBook Pro M1 2021. MacOS-14.4 + Docker - 4.28.0 (139021))

Following: https://github.com/pair-code/lit?tab=readme-ov-file#build-container-image

...
12.54      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 26.8 MB/s eta 0:00:00
12.65 Collecting tensorflow==2.10.0
12.70   Downloading tensorflow-2.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 kB)
12.74 Collecting tensorflow-datasets==4.8.0
12.80   Downloading tensorflow_datasets-4.8.0-py3-none-any.whl (5.2 MB)
13.63      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 6.2 MB/s eta 0:00:00
13.71 ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.8.0 Requires-Python >=3.11
13.71 ERROR: Could not find a version that satisfies the requirement tensorflow-text==2.10.0 (from versions: none)
13.71 ERROR: No matching distribution found for tensorflow-text==2.10.0
13.71
13.71 [notice] A new release of pip is available: 23.0.1 -> 24.0
13.71 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:36
--------------------
  34 |     # This step is slow as it installs many packages.
  35 |     COPY ./requirements*.txt ./
  36 | >>> RUN python -m pip install -r requirements.txt
  37 |
  38 |     # Copy the rest of the lit_nlp package
--------------------
ERROR: failed to solve: process "/bin/sh -c python -m pip install -r requirements.txt" did not complete successfully: exit code: 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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