Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]MAC M2安装最新版本,重启报错,看不到插件 #423

Open
2 tasks done
fanger7823 opened this issue Apr 11, 2024 · 7 comments
Open
2 tasks done

[Bug]MAC M2安装最新版本,重启报错,看不到插件 #423

fanger7823 opened this issue Apr 11, 2024 · 7 comments

Comments

@fanger7823
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Is EasyPhoto the latest version?

  • I have updated EasyPhoto to the latest version and the bug still exists.

What happened?

我的是MAC Studio M2的CPU,是不支持M2吗?

Steps to reproduce the problem

插件无法显示

What should have happened?

报错

Commit where the problem happens

webui界面无显示不能使用

What browsers do you use to access the UI ?

No response

Command Line Arguments

*** Error loading script: api.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/api.py", line 11, in <module>
        from scripts.easyphoto_infer import easyphoto_infer_forward, easyphoto_video_infer_forward
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_infer.py", line 11, in <module>
        from modelscope.outputs import OutputKeys
    ModuleNotFoundError: No module named 'modelscope'

---
*** Error loading script: easyphoto_infer.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_infer.py", line 11, in <module>
        from modelscope.outputs import OutputKeys
    ModuleNotFoundError: No module named 'modelscope'

---
*** Error loading script: easyphoto_train.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_train.py", line 21, in <module>
        from scripts.easyphoto_utils import check_files_exists_and_download, check_id_valid, check_scene_valid, ep_logger, unload_models
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_utils/__init__.py", line 32, in <module>
        from .common_utils import (
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_utils/common_utils.py", line 17, in <module>
        from modelscope.utils.logger import get_logger as ms_get_logger
    ModuleNotFoundError: No module named 'modelscope'

---
*** Error loading script: easyphoto_tryon_infer.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_tryon_infer.py", line 16, in <module>
        from segment_anything import SamPredictor, sam_model_registry
    ModuleNotFoundError: No module named 'segment_anything'

---
*** Error loading script: easyphoto_ui.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_ui.py", line 22, in <module>
        from scripts.easyphoto_infer import easyphoto_infer_forward, easyphoto_video_infer_forward
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_infer.py", line 11, in <module>
        from modelscope.outputs import OutputKeys
    ModuleNotFoundError: No module named 'modelscope'

---
*** Error loading script: preprocess.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/preprocess.py", line 17, in <module>
        from modelscope.outputs import OutputKeys
    ModuleNotFoundError: No module named 'modelscope'

---
*** Error loading script: sdwebui.py
    Traceback (most recent call last):
      File "/Users/casa/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/casa/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/sdwebui.py", line 22, in <module>
        from scripts.easyphoto_utils import (
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_utils/__init__.py", line 32, in <module>
        from .common_utils import (
      File "/Users/casa/stable-diffusion-webui/extensions/sd-webui-EasyPhoto/scripts/easyphoto_utils/common_utils.py", line 17, in <module>
        from modelscope.utils.logger import get_logger as ms_get_logger
    ModuleNotFoundError: No module named 'modelscope'

List of enabled extensions

Console logs

.

Additional information

.

@fanger7823 fanger7823 changed the title [Bug]EasyPhoto 安装了最新版本,在webui中没有出现此插件 [Bug]MAC M2安装最新版本,重启报错,看不到插件 Apr 11, 2024
@mohand505
Copy link

MAC M1 It's also the same mistake

@dhammavipassi
Copy link

I have the same issue.

@dhammavipassi
Copy link

Provide the error message displayed in the terminal to claude3 and ask him to give a detailed solution. He has successfully helped me solve this problem. You can try it.

@RockyFong
Copy link

I have the same issue on my MBA M1. I also have the error message of
"ModuleNotFoundError: No module named 'modelscope'"

I installed the module with "pip install modelscope", however it didn't solve the issue.

@dhammavipassi
Copy link

Send the error presented in the terminal to Gpt or claude, let ai analyze the cause of the error and ask him to give you a detailed solution.

@gaoyangyiqiao
Copy link

请问你是如何安装tensorflow-cpu的,我这里无法安装tensorflow-cpu,导致EasyPhoto无法安装

@hpan
Copy link

hpan commented Aug 23, 2024

请问你是如何安装tensorflow-cpu的,我这里无法安装tensorflow-cpu,导致EasyPhoto无法安装

找到 install.py,将其中的 tensorflow-cpu 改为 tensorflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants