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

error installing today #618

Open
lgwjames opened this issue Oct 27, 2024 · 5 comments
Open

error installing today #618

lgwjames opened this issue Oct 27, 2024 · 5 comments

Comments

@lgwjames
Copy link

*** Error executing callback ui_tabs_callback for C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\scripts\facechain_sdwebui.py
Traceback (most recent call last):
File "C:\Users\jessi\Desktop\SD Forge\webui\modules\script_callbacks.py", line 283, in ui_tabs_callback
res += c.callback() or []
File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs
import app
File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\app.py", line 16, in
from facechain.inference_fact import GenPortrait
File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\facechain\inference_fact.py", line 20, in
from modelscope.pipelines import pipeline
File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\pipelines_init_.py", line 4, in
from .base import Pipeline
File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in
from modelscope.msdatasets import MsDataset
File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\msdatasets_init_.py", line 2, in
from modelscope.msdatasets.ms_dataset import MsDataset
File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 9, in
from datasets import Dataset, DatasetDict, IterableDataset, IterableDatasetDict
ModuleNotFoundError: No module named 'datasets'


@sunbaigui
Copy link
Collaborator

hi @You-Cun , Please take a look at this when you get a chance.

@Hunt3rseeker
Copy link

I am having the same issue.

@Helge666
Copy link

Helge666 commented Nov 3, 2024

Same issue. Windows 10, RTX 3090 24GB

*** Error executing callback ui_tabs_callback for C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py
Traceback (most recent call last):
File "C:\automatic1111\modules\script_callbacks.py", line 283, in ui_tabs_callback
res += c.callback() or []
File "C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs
import app
File "C:\automatic1111\extensions\facechain\app.py", line 16, in
from facechain.inference_fact import GenPortrait
File "C:\automatic1111\extensions\facechain\facechain\inference_fact.py", line 20, in
from modelscope.pipelines import pipeline
File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines_init_.py", line 4, in
from .base import Pipeline
File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in
from modelscope.msdatasets import MsDataset
File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets_init_.py", line 2, in
from modelscope.msdatasets.ms_dataset import MsDataset
File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 9, in
from datasets import Dataset, DatasetDict, IterableDataset, IterableDatasetDict
ModuleNotFoundError: No module named 'datasets'

You can overcome this and the following ModuleNotFoundError by installing the missing modules:

PS C:\automatic1111\venv\Scripts> .\activate.ps1
(venv) PS C:\automatic1111\venv\Scripts> pip install datasets oss2

But after doing that, you'll run into this error:

*** Error executing callback ui_tabs_callback for C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py
Traceback (most recent call last):
File "C:\automatic1111\modules\script_callbacks.py", line 283, in ui_tabs_callback
res += c.callback() or []
File "C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs
import app
File "C:\automatic1111\extensions\facechain\app.py", line 16, in
from facechain.inference_fact import GenPortrait
File "C:\automatic1111\extensions\facechain\facechain\inference_fact.py", line 20, in
from modelscope.pipelines import pipeline
File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines_init_.py", line 4, in
from .base import Pipeline
File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in
from modelscope.msdatasets import MsDataset
File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets_init_.py", line 2, in
from modelscope.msdatasets.ms_dataset import MsDataset
File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 24, in
from modelscope.msdatasets.utils.hf_datasets_util import load_dataset_with_ctx
File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\utils\hf_datasets_util.py", line 44, in
from datasets.utils.file_utils import (OfflineModeIsEnabled,
ImportError: cannot import name 'OfflineModeIsEnabled' from 'datasets.utils.file_utils' (c:\automatic1111\venv\lib\site-packages\datasets\utils\file_utils.py)

@scooller
Copy link

I hace the same error

@TungyuYoung
Copy link

same error. don't know how to fix it...

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