AbdullahAlfaraj / AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

出现错误

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.3k
Forks
526
PR merge metrics
No merged PRs in 30d

Description

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Error running install.py for extension E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin.
Command: "E:\ai\sd\py310\python.exe" "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\install.py"
Error code: 1
stdout: [Auto-Photoshop-SD] Attempting auto-update...

[Auto-Photoshop-SD] switch branch to extension branch.

checkout_result: Your branch is up to date with 'origin/master'.

[Auto-Photoshop-SD] Current Branch.

branch_result: * master

[Auto-Photoshop-SD] Fetch upstream.

[Auto-Photoshop-SD] Auto-update failed:

Error running command.

Command: "git" -C "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin" fetch

Error code: 128

stdout:

stderr: fatal: unable to access 'https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin.git/': Failed to connect to github.com port 443 after 16 ms: Couldn't connect to server

[Auto-Photoshop-SD] Ensure git was used to install extension.

Installing requirements for Auto-Photoshop Image Search

stderr: Traceback (most recent call last):

File "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\install.py", line 44, in

launch.run_pip("install duckduckgo_search==2.8.0", "requirements for Auto-Photoshop Image Search")

File "E:\ai\sd\launch.py", line 129, in run_pip

return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")

File "E:\ai\sd\launch.py", line 97, in run

raise RuntimeError(message)

RuntimeError: Couldn't install requirements for Auto-Photoshop Image Search.
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Command: "E:\ai\sd\py310\python.exe" -m pip install duckduckgo_search==2.8.0 --prefer-binary --index-url https://mirrors.bfsu.edu.cn/pypi/web/simple
Launching Web UI with arguments: --medvram --theme light --precision full --no-half --no-half-vae --api --autolaunch

Error code: 1

stdout: Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.doubanio.com/simple

Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html

stderr: WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。')': /pytorch-wheels/torch_stable.html

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。')': /pypi/web/simple/duckduckgo-search/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。')': /simple/duckduckgo-search/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。')': /simple/duckduckgo-search/

ERROR: Could not find a version that satisfies the requirement duckduckgo_search==2.8.0 (from versions: none)

ERROR: No matching distribution found for duckduckgo_search==2.8.0

No module 'xformers'. Proceeding without it.
AUTOMATIC1111/stable-diffusion-webui packed by bilibili@秋葉aaaki
本整合包完全免费,严禁倒卖。若您付费获得本软件请立刻举报商家。
python_server_full_path: E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
Error loading script: main.py
Traceback (most recent call last):
File "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server\search.py", line 3, in
from duckduckgo_search import ddg_images
ModuleNotFoundError: No module named 'duckduckgo_search'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\ai\sd\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\ai\sd\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 "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\scripts\main.py", line 25, in
import search
File "E:\ai\sd\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server\search.py", line 5, in
raise ImportError(
ImportError: duckduckgo_search is required to image search. Please install it with `pip install duckduckgo_search`.
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Loading weights [4199bcdd14] from E:\ai\sd\models\Stable-diffusion\2.5d动漫底模.safetensors
Creating model from config: E:\ai\sd\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: E:\ai\sd\models\VAE\animevae.pt
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(1): EasyNegative
Model loaded in 2.1s (load weights from disk: 0.2s, create model: 0.5s, apply weights to model: 0.9s, load VAE: 0.6s).
Running on local URL: http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 11.5s (import torch: 2.0s, import gradio: 1.3s, import ldm: 0.5s, other imports: 1.2s, load scripts: 1.9s, load SD checkpoint: 2.7s, create ui: 1.1s, gradio launch: 0.4s, scripts app_started_callback: 0.1s).

这是报错内容

然后ps内可以使用文字生成图片,但是局部重新画图不能执行,或者执行后只能会生成一些组,但是并不能生成图片

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.