Page 1 of 1

Apple silicon m1 installation - python 3.10 tensorflow-cpu<2.11.0,>=2.10.0 issue

Posted: Wed Jan 22, 2025 1:55 pm
by ors

I received the following, should I downgrade the python to 3.9 maybe? what is the issue?

2.856 ERROR: Could not find a version that satisfies the requirement tensorflow-cpu<2.11.0,>=2.10.0 (from versions: none)

3.084 ERROR: No matching distribution found for tensorflow-cpu<2.11.0,>=2.10.0

2 warnings found (use docker --debug to expand):

  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 4)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 5)
    Dockerfile.cpu:17
    --------------------
    15 |
    16 | RUN python -m pip install --upgrade pip
    17 | >>> RUN python -m pip --no-cache-dir install -r ./requirements/requirements_cpu.txt
    18 |
    19 | CMD ["/bin/bash"]
    --------------------
    ERROR: failed to solve: process "/bin/sh -c python -m pip --no-cache-dir install -r ./requirements/requirements_cpu.txt" did not complete successfully: exit code: 1

Re: Apple silicon m1 installation - python 3.10 tensorflow-cpu<2.11.0,>=2.10.0 issue

Posted: Fri May 23, 2025 11:25 am
by torzdf

No, downgrading Python would not work.

The Dockerfiles have never been tested for macOS, so they may not work (and haven't been tested more widely for a long time anyway)