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

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Post Reply
User avatar
ors
Posts: 1
Joined: Wed Jan 22, 2025 1:32 am
Answers: 0

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

Post 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
User avatar
torzdf
Posts: 2796
Joined: Fri Jul 12, 2019 12:53 am
Answers: 160
Has thanked: 142 times
Been thanked: 650 times

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

Post 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)

My word is final

Post Reply