大佬能不能帮我看下这个是怎么回事 #2975
Unanswered
yangyang32
asked this question in
Q&A
Replies: 1 comment
-
根据你的报错信息: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
安装之后没有界面,后台会报错
venv "D:\SD\stable-diffusion-webui\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash:
Installing requirements for Web UI
Installing sd-webui-controlnet requirement: changing opencv-python version from 4.10.0.84 to 4.8.0
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
dirname: D:\SD\stable-diffusion-webui\stable-diffusion-webui\localizations
localizations: {'zh_Hans': 'D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\stable-diffusion-webui-localization-zh_Hant\localizations\zh_Hans.json', 'zh_Hant': 'D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\stable-diffusion-webui-localization-zh_Hant\localizations\zh_Hant.json'}
Error loading script: api.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\api.py", line 17, in
from scripts import external_code, global_state
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\external_code.py", line 1, in
from internal_controlnet.external_code import * # noqa: F403
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 8, in
from scripts import global_state
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 9, in
from scripts.supported_preprocessor import Preprocessor
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Error loading script: batch_hijack.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 5, in
from scripts import external_code
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\external_code.py", line 1, in
from internal_controlnet.external_code import * # noqa: F403
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 8, in
from scripts import global_state
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 9, in
from scripts.supported_preprocessor import Preprocessor
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
ControlNet preprocessor location: D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
Error loading script: controlnet.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 16, in
import scripts.preprocessor as preprocessor_init # noqa
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor_init.py", line 1, in
from .teed import *
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor\teed.py", line 6, in
from scripts.supported_preprocessor import Preprocessor, PreprocessorParameter
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Error loading script: external_code.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\external_code.py", line 1, in
from internal_controlnet.external_code import * # noqa: F403
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 8, in
from scripts import global_state
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 9, in
from scripts.supported_preprocessor import Preprocessor
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Error loading script: global_state.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 9, in
from scripts.supported_preprocessor import Preprocessor
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Warning: ControlNet failed to load SGM - will use LDM instead.
Error loading script: infotext.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\infotext.py", line 7, in
from internal_controlnet.external_code import ControlNetUnit
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 8, in
from scripts import global_state
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 9, in
from scripts.supported_preprocessor import Preprocessor
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Error loading script: supported_preprocessor.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 9, in
from scripts.utils import ndarray_lru_cache
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Error loading script: utils.py
Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\SD\stable-diffusion-webui\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 14, in
from modules.modelloader import load_file_from_url # noqa: F401
ImportError: cannot import name 'load_file_from_url' from 'modules.modelloader' (D:\SD\stable-diffusion-webui\stable-diffusion-webui\modules\modelloader.py)
Loading weights [6292dd40d6] from D:\SD\stable-diffusion-webui\stable-diffusion-webui\models\Stable-diffusion\3to2manhua.safetensors
Creating model from config: D:\SD\stable-diffusion-webui\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
D:\SD\stable-diffusion-webui\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning:
resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True
.warnings.warn(
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 2.3s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.8s, apply half(): 0.4s, move model to device: 0.4s, load textual inversion embeddings: 0.3s).
Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
.Startup time: 7.0s (import torch: 1.5s, import gradio: 0.5s, import ldm: 0.5s, other imports: 0.8s, load scripts: 0.6s, load SD checkpoint: 2.6s, create ui: 0.4s).
Beta Was this translation helpful? Give feedback.
All reactions