aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.97k stars 398 forks source link

[Bug]: Cannot install EasyPhoto in Mac with M3 chip #427

Open gaoyangyiqiao opened 6 months ago

gaoyangyiqiao commented 6 months ago

Is there an existing issue for this?

Is EasyPhoto the latest version?

What happened?

Each time I try to install, I met this:

截屏2024-05-19 18 23 38

It seems that tensorflow-cpu is not available for MacOS. Instead, it should be tensorflow-macos.

Steps to reproduce the problem

  1. Install easy-photo in a macbook with M3 chip
  2. You'll never install it successfully

What should have happened?

It should be installed successfully

Commit where the problem happens

webui: The latest EastPhoto: The latest

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of enabled extensions

No

Console logs

ERROR: Could not find a version that satisfies the requirement tensorflow-cpu (from versions: none)
                                                          ERROR: No matching distribution found for tensorflow-cpu
                                                  Install extension ComfyUI-Portrait-Maker failed: Install(git-clone) error: https://github.com/THtianhao/ComfyUI-Portrait-Maker / Error: Command failed with exit code 1: /Users/yanggao/miniconda3/envs/comflowy/bin/pip install -r requirements.txt
                                      ERROR: Could not find a version that satisfies the requirement tensorflow-cpu (from versions: none)
         ERROR: No matching distribution found for tensorflow-cpu
 Collecting aliyun-python-sdk-core-v3==2.13.10 (from -r requirements.txt (line 1))
                    Using cached aliyun_python_sdk_core_v3-2.13.10-py3-none-any.whl.metadata (1.4 kB)
                                     Requirement already satisfied: opencv-python in /Users/yanggao/miniconda3/envs/comflowy/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (4.7.0.72)
        Extension ComfyUI-Portrait-Maker install failed

Additional information

No response

ahjy commented 5 months ago

i has the same problem

RambleRainbow commented 1 month ago

there is no tensorflow-cpu package for Mac ARM64. I skipped the installation, so sd-web can load the plugin. But photos cannot be trained using this setup.