Stable Diffusion Web UI安装出现错误 #9172
Replies: 8 comments 14 replies
-
运行时错误:无法安装 gfpgan。寻求解决办法 |
Beta Was this translation helpful? Give feedback.
-
Failed to connect to github.com port 443. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
尝试使用 环境变量
参考阅读: https://stackoverflow.com/a/41570055/11226492 另外可以尝试将 出错的命令复制出来手动执行 。 |
Beta Was this translation helpful? Give feedback.
-
如果连结了VPN,断开试试。亲测有效。 |
Beta Was this translation helpful? Give feedback.
-
cmd运行如下命令 |
Beta Was this translation helpful? Give feedback.
-
I never could get git+ to work. ssl has always been weird. Drop the ssl+ and it should just work ™️ |
Beta Was this translation helpful? Give feedback.
-
我关掉了clash(vpn)的随机占用端口,然后好了 |
Beta Was this translation helpful? Give feedback.
-
RuntimeError: Couldn't install gfpgan.
Command: "E:\zmj\webui\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to c:\users\lenovo\appdata\local\temp\pip-req-build-impxl0g0
stderr: Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\LENOVO\AppData\Local\Temp\pip-req-build-impxl0g0'
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21112 ms: Timed out
error: unable to read sha1 file of .github/workflows/no-response.yml (fa702eeacff13fe8475b0e102a8b8c37602f3963)
error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: expected 'packfile'
error: unable to read sha1 file of .github/workflows/release.yml (1b8f35f1f4bd794065c814d463bc5d76d6d94e06)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21059 ms: Timed out
error: unable to read sha1 file of .gitignore (8151890ed0f735bc3db37b3900616e1657dee170)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21061 ms: Timed out
error: unable to read sha1 file of .pre-commit-config.yaml (d221d29fbaac74bef1c0cd910ce8d8b6526181b8)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of CODE_OF_CONDUCT.md (e8cc4daa4345590464314889b187d6a2d7a8e20f)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21059 ms: Timed out
error: unable to read sha1 file of Comparisons.md (1542d4c0c0a04ceeba42f24d5277351c2514214a)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21104 ms: Timed out
error: unable to read sha1 file of FAQ.md (e4d5a49cc216ffe987c7ab195a430f463f375425)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21100 ms: Timed out
error: unable to read sha1 file of MANIFEST.in (bcaa7179b82f6f0eebace30fa7e4ebea88408f52)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of PaperModel.md (e9c8bdc4e757a9818f18d1926b7452172486ec92)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21083 ms: Timed out
error: unable to read sha1 file of README.md (389021dc97602ea28b290ac8bf502b1f2915241e)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21084 ms: Timed out
error: unable to read sha1 file of README_CN.md (880f20631cb199fb33e1541ea7fd38bf1d29167b)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of VERSION (e05cb3329c6b27f3f99139e553a2ea3cead5203d)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21051 ms: Timed out
error: unable to read sha1 file of assets/gfpgan_logo.png (f01937838faf7689869d3a4dfd50da006af8fd5d)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21091 ms: Timed out
error: unable to read sha1 file of cog.yaml (f22d2c79b3ddd3ccf16799f66fc06eeb48e05a42)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21056 ms: Timed out
error: unable to read sha1 file of cog_predict.py (4b16e5897d0c3b0bc7cede04610ad5cb612c8d3f)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of experiments/pretrained_models/README.md (3401a5ca9b393e0033f58c5af8905961565826d9)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21066 ms: Timed out
error: unable to read sha1 file of gfpgan/init.py (94daaeebce5604d61999f0b1b354b9a9e299b991)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21038 ms: Timed out
error: unable to read sha1 file of gfpgan/archs/init.py (bec5f17bfa38729b55f57cae8e40c27310db2b7b)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21116 ms: Timed out
error: unable to read sha1 file of gfpgan/archs/gfpgan_bilinear_arch.py (52e0de88de8543cf4afdc3988c4cdfc7c7060687)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of gfpgan/archs/gfpganv1_arch.py (eaf316200b386bc6aa7a8829655828f71893473b)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21062 ms: Timed out
error: unable to read sha1 file of gfpgan/archs/stylegan2_clean_arch.py (9e2ee94e50401b95e4c9997adef5581d521d725f)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21065 ms: Timed out
error: unable to read sha1 file of gfpgan/data/init.py (69fd9f9026407c4d185f86b122000485b06fd986)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21083 ms: Timed out
error: unable to read sha1 file of gfpgan/data/ffhq_degradation_dataset.py (64e5755e1211f171cb2a883d47e8d253061f90aa)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21091 ms: Timed out
error: unable to read sha1 file of gfpgan/models/init.py (6afad57a3794b867dabbdb617a16355a24d6a8b3)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of gfpgan/models/gfpgan_model.py (b5fb8c953b1ef67b457f56492ad3291d6e5f126d)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21107 ms: Timed out
error: unable to read sha1 file of gfpgan/train.py (fe5f1f909ae15a8d830ef65dcb43436d4f4ee7ae)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21075 ms: Timed out
error: unable to read sha1 file of gfpgan/utils.py (74ee5a83ce5319c83dfd7de8ade27093c3f77a02)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21073 ms: Timed out
error: unable to read sha1 file of gfpgan/weights/README.md (4d7b7e642591ef88575d9e6c360a4d29e0cc1a4f)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21044 ms: Timed out
error: unable to read sha1 file of inputs/cropped_faces/Adele_crop.png (afeb55570306769034981065f832c0887ba9347e)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21100 ms: Timed out
error: unable to read sha1 file of inputs/cropped_faces/Julia_Roberts_crop.png (38c75c6e89f91348b764e035df2ad1718e424bb9)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21094 ms: Timed out
error: unable to read sha1 file of inputs/cropped_faces/Justin_Timberlake_crop.png (f4c118c5aead66bb47a9c5e867b589100598fa5d)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of inputs/cropped_faces/Paris_Hilton_crop.png (8d8ffc1a91210a50d5b443bf59496aaac8b9b33d)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21031 ms: Timed out
error: unable to read sha1 file of inputs/whole_imgs/00.jpg (3df79f94b237927f48b4e98cae19446e1615963b)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21071 ms: Timed out
error: unable to read sha1 file of inputs/whole_imgs/10045.png (72032fb46f0fa222ce4c6cc357b7af6da08c7da6)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21108 ms: Timed out
error: unable to read sha1 file of options/train_gfpgan_v1.yml (aa5212a81de362daaef306e203f03cc665186d47)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21085 ms: Timed out
error: unable to read sha1 file of options/train_gfpgan_v1_simple.yml (3807575826a5e7ed97335f607c091c8a4039a213)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21094 ms: Timed out
error: unable to read sha1 file of requirements.txt (4f46d2598897361af301cddb381f6dab3526c09f)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21086 ms: Timed out
error: unable to read sha1 file of scripts/convert_gfpganv_to_clean.py (8fdccb6195c29e78cec2ac8dcc6f9ccb604e35ca)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21043 ms: Timed out
error: unable to read sha1 file of scripts/parse_landmark.py (74e2ff9e130ad4f2395c9666dca3ba78526d7a8a)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21054 ms: Timed out
error: unable to read sha1 file of setup.cfg (3d90d600476f24315855b73c777bd7571f42f954)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of setup.py (474e9188aa2dc5c19614921760ce4ad99bd19c13)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21063 ms: Timed out
error: unable to read sha1 file of tests/data/ffhq_gt.lmdb/data.mdb (823e0a9dae90d0699777770760ff012155974290)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of tests/data/ffhq_gt.lmdb/lock.mdb (c53d2e56457060392f18d1dc7ab6574b15f42794)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21039 ms: Timed out
error: unable to read sha1 file of tests/data/ffhq_gt.lmdb/meta_info.txt (8f18d95c03214990dbfd7e6ab520eb7b337038f2)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21064 ms: Timed out
error: unable to read sha1 file of tests/data/gt/00000000.png (33425aad207003300a8df43a3fe78dde492c552e)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: unable to read sha1 file of tests/data/test_eye_mouth_landmarks.pth (35243df5c3727e8fe2e0dc34f0787b6bea7dfed2)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21072 ms: Timed out
error: unable to read sha1 file of tests/data/test_ffhq_degradation_dataset.yml (df50c4bc5ca7f019cc8c47e1e39cd5709137fbee)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21057 ms: Timed out
error: unable to read sha1 file of tests/data/test_gfpgan_model.yml (bac650ef201a383b3ae8c7f3ca3c76b2dbf9cbf1)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21042 ms: Timed out
error: unable to read sha1 file of tests/test_ffhq_degradation_dataset.py (fa56c03fb8e23df26aa6ed8442a86b3c676eec78)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21067 ms: Timed out
error: unable to read sha1 file of tests/test_gfpgan_arch.py (cef14a435aa824a1b7c4baaf2d1fe0a2f6cc4441)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21076 ms: Timed out
error: unable to read sha1 file of tests/test_stylegan2_clean_arch.py (78bb920e73ce28cfec9ea89a4339cc5b87981b47)
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21069 ms: Timed out
error: unable to read sha1 file of tests/test_utils.py (a963b3269dea05f9b7ec6c3db016e9a579c92fc8)
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
error: subprocess-exited-with-error
git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\LENOVO\AppData\Local\Temp\pip-req-build-impxl0g0' did not run successfully.
exit code: 128
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\LENOVO\AppData\Local\Temp\pip-req-build-impxl0g0' did not run successfully.
exit code: 128
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: E:\zmj\webui\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
请按任意键继续. . .
Beta Was this translation helpful? Give feedback.
All reactions