在安装stable-diffusion-webui(1.2.1版本)之前需要确认win10本地电脑具有的环境
1.显卡类型:NVIDIA(英伟达)
建议显存高于4G以上,这样512*512的还是可以运行的
2.python(版本必须最好是3.10.6)和 git最新版
正式安装
找到stable-diffusion-webui
https://github.com/AUTOMATIC1111/stable-diffusion-webui
这里找到1.2.1版本下载压缩包后来安装(固定版本安装,那么相对来说出现的问题可以同步解决)
运行webui-user.bat
在这里等待下载(下载需要很长时间,如果这步下载不了,或者有报错超时,可能就是网络问题,在这里等待问题复现)
安装记录
Creating venv in directory D:\stable-diffusion-webui-1.2.1\venv using python "C:\DevelopIDE\Python\Python310\python.exe"venv "D:\stable-diffusion-webui-1.2.1\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)] Version: <none> Commit hash: <none> Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Collecting torch==2.0.1 Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB) ---------------------------------------- 2.6/2.6 GB 796.7 kB/s eta 0:00:00 Collecting torchvision==0.15.2 Downloading https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) ---------------------------------------- 4.9/4.9 MB 1.2 MB/s eta 0:00:00 Collecting typing-extensions Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting sympy Downloading sympy-1.12-py3-none-any.whl (5.7 MB) ---------------------------------- ----- 5.0/5.7 MB 8.1 kB/s eta 0:01:37 ERROR: Exception: Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\urllib3\response.py", line 435, in _error_catcher yield File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\urllib3\response.py", line 516, in read data = self._fp.read(amt) if not fp_closed else b"" File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 90, in read data = self.__fp.read(amt) File "C:\DevelopIDE\Python\Python310\lib\http\client.py", line 465, in read s = self.fp.read(amt) File "C:\DevelopIDE\Python\Python310\lib\socket.py", line 705, in readinto return self._sock.recv_into(b) File "C:\DevelopIDE\Python\Python310\lib\ssl.py", line 1274, in recv_into return self.read(nbytes, buffer) File "C:\DevelopIDE\Python\Python310\lib\ssl.py", line 1130, in read return self._sslobj.read(len, buffer) TimeoutError: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 167, in exc_logging_wrapper status = run_func(*args) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper return func(self, options, args) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\commands\install.py", line 369, in run requirement_set = resolver.resolve( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve result = self._result = resolver.resolve( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 481, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 373, in resolve failure_causes = self._attempt_to_pin_criterion(name) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 213, in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 204, in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria if not criterion.candidates: File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 151, in __bool__ return bool(self._sequence) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__ return any(self) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr> return (c for c in iterator if id(c) not in self._incompatible_ids) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built candidate = func() File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 297, in __init__ super().__init__( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 162, in __init__ self.dist = self._prepare() File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 231, in _prepare dist = self._prepare_distribution() File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 308, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 438, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 483, in _prepare_linked_requirement local_file = unpack_url( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 165, in unpack_url file = get_http_url( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 106, in get_http_url from_path, content_type = download(link, temp_dir.path) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\network\download.py", line 147, in __call__ for chunk in chunks: File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\cli\progress_bars.py", line 53, in _rich_progress_bar for chunk in iterable: File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_internal\network\utils.py", line 63, in response_chunks for chunk in response.raw.stream( File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\urllib3\response.py", line 573, in stream data = self.read(amt=amt, decode_content=decode_content) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\urllib3\response.py", line 509, in read with self._error_catcher(): File "C:\DevelopIDE\Python\Python310\lib\contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pip\_vendor\urllib3\response.py", line 440, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. [notice] A new release of pip available: 22.2.1 -> 23.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe -m pip install --upgrade pip Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\launch.py", line 369, in <module> prepare_environment() File "D:\stable-diffusion-webui-1.2.1\launch.py", line 271, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "D:\stable-diffusion-webui-1.2.1\launch.py", line 95, in run raise RuntimeError(f"""{errdesc or 'Error running command'}. RuntimeError: Couldn't install torch. Command: "D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 Error code: 2 请按任意键继续. . .
遇到问题点
可以看到5.0/5.7 MB这里报错了(应该是网络断开了,下载失败了),那就重新运行webui-user.bat
venv "D:\stable-diffusion-webui-1.2.1\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)] Version: <none> Commit hash: <none> Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Collecting torch==2.0.1 Using cached https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB) Collecting torchvision==0.15.2 Using cached https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Collecting jinja2 Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB) ---------------------------------------- 133.1/133.1 kB 126.8 kB/s eta 0:00:00 Collecting typing-extensions Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting filelock Downloading filelock-3.12.0-py3-none-any.whl (10 kB) Collecting sympy Downloading sympy-1.12-py3-none-any.whl (5.7 MB) ---------------------------------------- 5.7/5.7 MB 16.7 kB/s eta 0:00:00 Collecting networkx Downloading networkx-3.1-py3-none-any.whl (2.1 MB) ---------------------------------------- 2.1/2.1 MB 22.2 kB/s eta 0:00:00 Collecting requests Using cached requests-2.30.0-py3-none-any.whl (62 kB) Collecting pillow!=8.3.*,>=5.3.0 Downloading Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB) ---------------------------------------- 2.5/2.5 MB 14.5 kB/s eta 0:00:00 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/numpy/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/numpy/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/numpy/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/numpy/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/numpy/ Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /whl/cu118/numpy/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /whl/cu118/numpy/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /whl/cu118/numpy/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /whl/cu118/numpy/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /whl/cu118/numpy/ Could not fetch URL https://download.pytorch.org/whl/cu118/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu118/numpy/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping Collecting torchvision==0.15.2 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/9e/1d/cb1e7f25b6dda4e672ed8a3e7fbd073ec39e2ba6c378c3071ef2cd6100e1/torchvision-0.15.2-cp310-cp310-win_amd64.whl (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) [notice] A new release of pip available: 22.2.1 -> 23.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe -m pip install --upgrade pip Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\launch.py", line 369, in <module> prepare_environment() File "D:\stable-diffusion-webui-1.2.1\launch.py", line 271, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "D:\stable-diffusion-webui-1.2.1\launch.py", line 95, in run raise RuntimeError(f"""{errdesc or 'Error running command'}. RuntimeError: Couldn't install torch. Command: "D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 Error code: 1 请按任意键继续. . .
这里又出现了请按任意键继续……那就找博友的博客来解决问题,运行下面的指令(当然也可以在运行webui-user.bat之前更新pip)
python.exe -m pip install --upgrade pip
重新webui-user.bat后问题又来了
venv "D:\stable-diffusion-webui-1.2.1\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)] Version: <none> Commit hash: <none> Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Collecting torch==2.0.1 Using cached https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB) Collecting torchvision==0.15.2 Using cached https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Collecting typing-extensions Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting sympy Using cached sympy-1.12-py3-none-any.whl (5.7 MB) Collecting filelock Using cached filelock-3.12.0-py3-none-any.whl (10 kB) Collecting networkx Using cached networkx-3.1-py3-none-any.whl (2.1 MB) Collecting jinja2 Using cached https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting pillow!=8.3.*,>=5.3.0 Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB) Collecting requests Using cached requests-2.30.0-py3-none-any.whl (62 kB) Collecting numpy Downloading numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) ---------------------------------------- 14.8/14.8 MB 3.4 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.2-cp310-cp310-win_amd64.whl (16 kB) Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.0.2-py3-none-any.whl (123 kB) ---------------------------------------- 123.2/123.2 kB 1.8 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) ---------------------------------------- 97.1/97.1 kB 2.8 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB) ---------------------------------------- 61.5/61.5 kB 657.7 kB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ---------------------------------------- 157.0/157.0 kB 940.5 kB/s eta 0:00:00 Collecting mpmath>=0.19 Downloading mpmath-1.3.0-py3-none-any.whl (536 kB) ---------------------------------------- 536.2/536.2 kB 1.2 MB/s eta 0:00:00 Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision Successfully installed MarkupSafe-2.1.2 certifi-2023.5.7 charset-normalizer-3.1.0 filelock-3.12.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 numpy-1.24.3 pillow-9.5.0 requests-2.30.0 sympy-1.12 torch-2.0.1+cu118 torchvision-0.15.2+cu118 typing-extensions-4.5.0 urllib3-2.0.2 [notice] A new release of pip available: 22.2.1 -> 23.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe -m pip install --upgrade pip Installing gfpgan Installing clip Installing open_clip Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\launch.py", line 369, in <module> prepare_environment() File "D:\stable-diffusion-webui-1.2.1\launch.py", line 283, in prepare_environment run_pip(f"install {openclip_package}", "open_clip") File "D:\stable-diffusion-webui-1.2.1\launch.py", line 143, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "D:\stable-diffusion-webui-1.2.1\launch.py", line 111, in run raise RuntimeError(message) RuntimeError: Couldn't install open_clip. Command: "D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe" -m pip install git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b --prefer-binary Error code: 1 stdout: Collecting git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b Cloning https://github.com/mlfoundations/open_clip.git (to revision bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b) to c:\users\administrator\appdata\local\temp\pip-req-build-1au42km4 stderr: Running command git clone --filter=blob:none --quiet https://github.com/mlfoundations/open_clip.git 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-1au42km4' Running command git rev-parse -q --verify 'sha^bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b' Running command git fetch -q https://github.com/mlfoundations/open_clip.git bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b fatal: unable to access 'https://github.com/mlfoundations/open_clip.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 error: subprocess-exited-with-error git fetch -q https://github.com/mlfoundations/open_clip.git bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b 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 fetch -q https://github.com/mlfoundations/open_clip.git bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b 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.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe -m pip install --upgrade pip 请按任意键继续. . .
之前安装1.2.0版本时,在这里就被卡住过,那时候gfpgan,clip,open_clip都需要手动安装,没想到1.2.1版本grpgan和clip直接安装成功了(如果遇到安装不成功,可以尝试继续启动安装,或者单独安装,直接启动安装不成功多半是网络问题的) 遇到open_clip的时候报出问题了,那么解决办法是单独安装
error: subprocess-exited-with-error
git fetch -q https://github.com/mlfoundations/open_clip.git bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b did not run successfully.
exit code: 128
第一种方式git clone下载
进入win的目录 D:\stable-diffusion-webui-1.2.1\venv\Scripts\ 必须在这里的目录下才可以
第二种方式直接去下载zip文件 解压到D:\stable-diffusion-webui-1.2.1\venv\Scripts\ 目录下面
在D:\stable-diffusion-webui-1.2.1\venv\Scripts\open_clip\目录下面打开CMD窗口
执行指令
D:\\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe setup.py build install
PS D:\stable-diffusion-webui-1.2.1\venv\Scripts\open_clip> D:\\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe setup.py build install running build running build_py creating build creating build\lib creating build\lib\open_clip copying src\open_clip\coca_model.py -> build\lib\open_clip copying src\open_clip\constants.py -> build\lib\open_clip copying src\open_clip\factory.py -> build\lib\open_clip copying src\open_clip\generation_utils.py -> build\lib\open_clip copying src\open_clip\hf_configs.py -> build\lib\open_clip copying src\open_clip\hf_model.py -> build\lib\open_clip copying src\open_clip\loss.py -> build\lib\open_clip copying src\open_clip\model.py -> build\lib\open_clip copying src\open_clip\modified_resnet.py -> build\lib\open_clip copying src\open_clip\openai.py -> build\lib\open_clip copying src\open_clip\pretrained.py -> build\lib\open_clip copying src\open_clip\push_to_hf_hub.py -> build\lib\open_clip copying src\open_clip\timm_model.py -> build\lib\open_clip copying src\open_clip\tokenizer.py -> build\lib\open_clip copying src\open_clip\transform.py -> build\lib\open_clip copying src\open_clip\transformer.py -> build\lib\open_clip copying src\open_clip\utils.py -> build\lib\open_clip copying src\open_clip\version.py -> build\lib\open_clip copying src\open_clip\zero_shot_classifier.py -> build\lib\open_clip copying src\open_clip\zero_shot_metadata.py -> build\lib\open_clip copying src\open_clip\__init__.py -> build\lib\open_clip creating build\lib\training copying src\training\data.py -> build\lib\training copying src\training\distributed.py -> build\lib\training copying src\training\file_utils.py -> build\lib\training copying src\training\logger.py -> build\lib\training copying src\training\main.py -> build\lib\training copying src\training\params.py -> build\lib\training copying src\training\precision.py -> build\lib\training copying src\training\profile.py -> build\lib\training copying src\training\scheduler.py -> build\lib\training copying src\training\train.py -> build\lib\training copying src\training\zero_shot.py -> build\lib\training copying src\training\__init__.py -> build\lib\training running egg_info creating src\open_clip_torch.egg-info writing src\open_clip_torch.egg-info\PKG-INFO writing dependency_links to src\open_clip_torch.egg-info\dependency_links.txt writing requirements to src\open_clip_torch.egg-info\requires.txt writing top-level names to src\open_clip_torch.egg-info\top_level.txt writing manifest file 'src\open_clip_torch.egg-info\SOURCES.txt' reading manifest file 'src\open_clip_torch.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src\open_clip_torch.egg-info\SOURCES.txt' D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\setuptools\command\build_py.py:153: SetuptoolsDeprecationWarning: Installing 'open_clip.model_configs' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'open_clip.model_configs' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'open_clip.model_configs' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'open_clip.model_configs' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying src\open_clip\bpe_simple_vocab_16e6.txt.gz -> build\lib\open_clip creating build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA01-g-14-plus.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA01-g-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA02-B-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA02-E-14-plus.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA02-E-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA02-L-14-336.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\EVA02-L-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN101-quickgelu.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN101.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN50-quickgelu.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN50.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN50x16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN50x4.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\RN50x64.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-16-plus-240.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-16-plus.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-32-plus-256.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-32-quickgelu.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-H-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-H-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-L-14-280.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-L-14-336.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-L-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-L-16-320.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-L-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-M-16-alt.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-M-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-M-32-alt.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-M-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-S-16-alt.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-S-16.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-S-32-alt.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-S-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-bigG-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-e-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\ViT-g-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\coca_ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\coca_ViT-L-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\coca_base.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\coca_roberta-ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_base.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_base_w.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_base_w_320.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_large.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_large_d.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_large_d_320.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_small.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_tiny.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_xlarge.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_xxlarge.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\convnext_xxlarge_320.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\mt5-base-ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\mt5-xl-ViT-H-14.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\roberta-ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\swin_base_patch4_window7_224.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\vit_medium_patch16_gap_256.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\vit_relpos_medium_patch16_cls_224.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\xlm-roberta-base-ViT-B-32.json -> build\lib\open_clip\model_configs copying src\open_clip\model_configs\xlm-roberta-large-ViT-H-14.json -> build\lib\open_clip\model_configs running install D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg installing library code to build\bdist.win-amd64\egg running install_lib creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\bpe_simple_vocab_16e6.txt.gz -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\coca_model.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\constants.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\factory.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\generation_utils.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\hf_configs.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\hf_model.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\loss.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\model.py -> build\bdist.win-amd64\egg\open_clip creating build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\coca_base.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\coca_roberta-ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\coca_ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\coca_ViT-L-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_base.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_base_w.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_base_w_320.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_large.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_large_d.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_large_d_320.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_small.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_tiny.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_xlarge.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_xxlarge.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\convnext_xxlarge_320.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA01-g-14-plus.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA01-g-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA02-B-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA02-E-14-plus.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA02-E-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA02-L-14-336.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\EVA02-L-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\mt5-base-ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\mt5-xl-ViT-H-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN101-quickgelu.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN101.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN50-quickgelu.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN50.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN50x16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN50x4.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\RN50x64.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\roberta-ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\swin_base_patch4_window7_224.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-16-plus-240.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-16-plus.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-32-plus-256.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-32-quickgelu.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-bigG-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-e-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-g-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-H-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-H-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-L-14-280.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-L-14-336.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-L-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-L-16-320.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-L-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-M-16-alt.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-M-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-M-32-alt.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-M-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-S-16-alt.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-S-16.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-S-32-alt.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\ViT-S-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\vit_medium_patch16_gap_256.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\vit_relpos_medium_patch16_cls_224.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\xlm-roberta-base-ViT-B-32.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\model_configs\xlm-roberta-large-ViT-H-14.json -> build\bdist.win-amd64\egg\open_clip\model_configs copying build\lib\open_clip\modified_resnet.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\openai.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\pretrained.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\push_to_hf_hub.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\timm_model.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\tokenizer.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\transform.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\transformer.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\utils.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\version.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\zero_shot_classifier.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\zero_shot_metadata.py -> build\bdist.win-amd64\egg\open_clip copying build\lib\open_clip\__init__.py -> build\bdist.win-amd64\egg\open_clip creating build\bdist.win-amd64\egg\training copying build\lib\training\data.py -> build\bdist.win-amd64\egg\training copying build\lib\training\distributed.py -> build\bdist.win-amd64\egg\training copying build\lib\training\file_utils.py -> build\bdist.win-amd64\egg\training copying build\lib\training\logger.py -> build\bdist.win-amd64\egg\training copying build\lib\training\main.py -> build\bdist.win-amd64\egg\training copying build\lib\training\params.py -> build\bdist.win-amd64\egg\training copying build\lib\training\precision.py -> build\bdist.win-amd64\egg\training copying build\lib\training\profile.py -> build\bdist.win-amd64\egg\training copying build\lib\training\scheduler.py -> build\bdist.win-amd64\egg\training copying build\lib\training\train.py -> build\bdist.win-amd64\egg\training copying build\lib\training\zero_shot.py -> build\bdist.win-amd64\egg\training copying build\lib\training\__init__.py -> build\bdist.win-amd64\egg\training byte-compiling build\bdist.win-amd64\egg\open_clip\coca_model.py to coca_model.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\constants.py to constants.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\factory.py to factory.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\generation_utils.py to generation_utils.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\hf_configs.py to hf_configs.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\hf_model.py to hf_model.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\loss.py to loss.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\model.py to model.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\modified_resnet.py to modified_resnet.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\openai.py to openai.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\pretrained.py to pretrained.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\push_to_hf_hub.py to push_to_hf_hub.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\timm_model.py to timm_model.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\tokenizer.py to tokenizer.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\transform.py to transform.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\transformer.py to transformer.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\utils.py to utils.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\version.py to version.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\zero_shot_classifier.py to zero_shot_classifier.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\zero_shot_metadata.py to zero_shot_metadata.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\open_clip\__init__.py to __init__.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\data.py to data.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\distributed.py to distributed.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\file_utils.py to file_utils.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\logger.py to logger.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\main.py to main.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\params.py to params.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\precision.py to precision.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\profile.py to profile.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\scheduler.py to scheduler.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\train.py to train.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\zero_shot.py to zero_shot.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\training\__init__.py to __init__.cpython-310.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying src\open_clip_torch.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying src\open_clip_torch.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying src\open_clip_torch.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying src\open_clip_torch.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying src\open_clip_torch.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO zip_safe flag not set; analyzing archive contents... open_clip.__pycache__.factory.cpython-310: module references __file__ open_clip.__pycache__.tokenizer.cpython-310: module references __file__ training.__pycache__.main.cpython-310: module references __file__ creating dist creating 'dist\open_clip_torch-2.20.0-py3.10.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing open_clip_torch-2.20.0-py3.10.egg creating d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\open_clip_torch-2.20.0-py3.10.egg Extracting open_clip_torch-2.20.0-py3.10.egg to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding open-clip-torch 2.20.0 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\open_clip_torch-2.20.0-py3.10.egg Processing dependencies for open-clip-torch==2.20.0 Searching for timm Reading https://pypi.org/simple/timm/ D:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/29/90/94f5deb8d76e24a89813aef95e8809ca8fd7414490428480eda19b133d4a/timm-0.9.2-py3-none-any.whl#sha256=8da40cc58ed32b0622bf87d8714f9b7023398ba4cfa8fa678578d2aefde4a909 Best match: timm 0.9.2 Processing timm-0.9.2-py3-none-any.whl Installing timm-0.9.2-py3-none-any.whl to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding timm 0.9.2 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\timm-0.9.2-py3.10.egg Searching for protobuf<4 Reading https://pypi.org/simple/protobuf/ Downloading https://files.pythonhosted.org/packages/8d/14/619e24a4c70df2901e1f4dbc50a6291eb63a759172558df326347dce1f0d/protobuf-3.20.3-py2.py3-none-any.whl#sha256=a7ca6d488aa8ff7f329d4c545b2dbad8ac31464f1d8b1c87ad1346717731e4db Best match: protobuf 3.20.3 Processing protobuf-3.20.3-py2.py3-none-any.whl Installing protobuf-3.20.3-py2.py3-none-any.whl to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding protobuf 3.20.3 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\protobuf-3.20.3-py3.10.egg Searching for sentencepiece Reading https://pypi.org/simple/sentencepiece/ Downloading https://files.pythonhosted.org/packages/21/8c/54bd0e155ec945cd8bcf387c25b2d337b345f2e56939336d71183dc1804f/sentencepiece-0.1.99-cp310-cp310-win_amd64.whl#sha256=14b0eccb7b641d4591c3e12ae44cab537d68352e4d3b6424944f0c447d2348d5 Best match: sentencepiece 0.1.99 Processing sentencepiece-0.1.99-cp310-cp310-win_amd64.whl Installing sentencepiece-0.1.99-cp310-cp310-win_amd64.whl to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding sentencepiece 0.1.99 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\sentencepiece-0.1.99-py3.10-win-amd64.egg Searching for huggingface_hub Reading https://pypi.org/simple/huggingface_hub/ Downloading https://files.pythonhosted.org/packages/58/34/c57b951aecd0248845932c1cfc15721237c50e463f26b0536673bcb76f4f/huggingface_hub-0.14.1-py3-none-any.whl#sha256=9fc619170d800ff3793ad37c9757c255c8783051e1b5b00501205eb43ccc4f27 Best match: huggingface-hub 0.14.1 Processing huggingface_hub-0.14.1-py3-none-any.whl Installing huggingface_hub-0.14.1-py3-none-any.whl to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding huggingface-hub 0.14.1 to easy-install.pth file Installing huggingface-cli-script.py script to D:\stable-diffusion-webui-1.2.1\venv\Scripts Installing huggingface-cli.exe script to D:\stable-diffusion-webui-1.2.1\venv\Scripts Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\huggingface_hub-0.14.1-py3.10.egg Searching for safetensors Reading https://pypi.org/simple/safetensors/ Downloading https://files.pythonhosted.org/packages/39/7b/c785536dc1307214f4def6e6ddd772c9a76d3b5798f2961644fac10f373d/safetensors-0.3.1-cp310-cp310-win_amd64.whl#sha256=54846eaae25fded28a7bebbb66be563cad221b4c80daee39e2f55df5e5e0266f Best match: safetensors 0.3.1 Processing safetensors-0.3.1-cp310-cp310-win_amd64.whl Installing safetensors-0.3.1-cp310-cp310-win_amd64.whl to d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages Adding safetensors 0.3.1 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.1\venv\lib\site-packages\safetensors-0.3.1-py3.10-win-amd64.egg Searching for fsspec Reading https://pypi.org/simple/fsspec/ Downloading https://files.pythonhosted.org/packages/ec/4e/397b234a369df06ec782666fcdf9791d125ca6de48729814b381af8c6c03/fsspec-2023.5.0-py3-none-any.whl#sha256=51a4ad01a5bb66fcc58036e288c0d53d3975a0df2a5dc59a93b59bade0391f2a error: Download error for https://files.pythonhosted.org/packages/ec/4e/397b234a369df06ec782666fcdf9791d125ca6de48729814b381af8c6c03/fsspec-2023.5.0-py3-none-any.whl#sha256=51a4ad01a5bb66fcc58036e288c0d53d3975a0df2a5dc59a93b59bade0391f2a: [Errno 2] No such file or directory PS D:\stable-diffusion-webui-1.2.1\venv\Scripts\open_clip>
然后继续webui-user.bat
venv "D:\stable-diffusion-webui-1.2.1\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)] Version: <none> Commit hash: <none> Cloning Stable Diffusion into D:\stable-diffusion-webui-1.2.1\repositories\stable-diffusion-stability-ai... Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.1\launch.py", line 369, in <module> prepare_environment() File "D:\stable-diffusion-webui-1.2.1\launch.py", line 302, in prepare_environment git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash) File "D:\stable-diffusion-webui-1.2.1\launch.py", line 165, in git_clone run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}") File "D:\stable-diffusion-webui-1.2.1\launch.py", line 111, in run raise RuntimeError(message) RuntimeError: Couldn't clone Stable Diffusion. Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\stable-diffusion-webui-1.2.1\repositories\stable-diffusion-stability-ai" Error code: 128 stdout: <empty> stderr: Cloning into 'D:\stable-diffusion-webui-1.2.1\repositories\stable-diffusion-stability-ai'... fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': Recv failure: Connection was reset 请按任意键继续. . .
这次遇到的问题是Command: “git” clone “https://github.com/Stability-AI/stablediffusion.git” “D:\stable-diffusion-webui-1.2.1\repositories\stable-diffusion-stability-ai” 解决办法是在目录里单独用git去下载资源
打开D:\stable-diffusion-webui-1.2.1\目录下的launch.py文件
在D:\stable-diffusion-webui-1.2.1\repositories下载(切记这里不要用浏览器去下载压缩文件,必须使用git clone下载)
git clone https://github.com/Stability-AI/stablediffusion.git
下载完成之后 发现文件夹的名字是stablediffusion 将之手动改成stable-diffusion-stability-ai
git clone https://github.com/CompVis/taming-transformers.git
git clone https://github.com/crowsonkb/k-diffusion.git
git clone https://github.com/sczhou/CodeFormer.git
git clone https://github.com/salesforce/BLIP.git
最终可以看到全部下载完成
重启webui-user.bat
venv "D:\stable-diffusion-webui-1.2.1\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)] Version: <none> Commit hash: <none> Fetching updates for Taming Transformers... Checking out commit for Taming Transformers with hash: 24268930bf1dce879235a7fddd0b2355b84d7ea6... Fetching updates for K-diffusion... Checking out commit for K-diffusion with hash: 5b3af030dd83e0297272d861c19477735d0317ec... Fetching updates for CodeFormer... Checking out commit for CodeFormer with hash: c5b4593074ba6214284d6acd5f1719b6c5d739af... Fetching updates for BLIP... Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9... Installing requirements for CodeFormer Installing requirements Launching Web UI with arguments: No module 'xformers'. Proceeding without it. Downloading: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" to D:\stable-diffusion-webui-1.2.1\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors No checkpoints found. When searching for checkpoints, looked at: - file D:\stable-diffusion-webui-1.2.1\model.ckpt - directory D:\stable-diffusion-webui-1.2.1\models\Stable-diffusion Can't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations. The program will exit. Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 34.7s (import torch: 1.7s, import gradio: 1.1s, import ldm: 0.4s, other imports: 1.6s, list SD models: 29.0s, load scripts: 0.5s, create ui: 0.3s).
可以看到已经运行起来了 Running on local URL: http://127.0.0.1:7860
虽然运行起来了 但是左上角的Stable Diffusion checkpoint是没有的
No module 'xformers'. Proceeding without it. Downloading: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" to D:\stable-diffusion-webui-1.2.1\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors No checkpoints found. When searching for checkpoints, looked at: - file D:\stable-diffusion-webui-1.2.1\model.ckpt - directory D:\stable-diffusion-webui-1.2.1\models\Stable-diffusion Can't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations. The program will exit. Running on local URL: http://127.0.0.1:7860
第一个没有 xformers暂且不管
第二个Downloading: “https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors” to D:\stable-diffusion-webui-1.2.1\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
照做去下载下来放到指定的目录
重新启动后会看到左上角有了,然后输入山水画生成了一幅山水画的图片
stable-diffusion-webui(1.2.1版本) win10系统本地电脑部署就完成了,这样做的版本是不含其他插件的纯净版,好处是需要啥插件自己去安装,这样对这套webui更加的熟悉,而且在使用过程中遇到问题能够很好的解决,建议不要中文汉化,可能会导致部分使用起来没效果啥的。
记录一下安装Installing gfpgan Installing clip Installing open_clip报错的解决办法,使用stable-diffusion-webui(1.2.0版本)安装遇到的
1.gfpgan 安装出错RuntimeError: Couldn’t install gfpgan.
Installing gfpgan Traceback (most recent call last): File "D:\stable-diffusion-webui-1.2.0\launch.py", line 369, in <module> prepare_environment() File "D:\stable-diffusion-webui-1.2.0\launch.py", line 277, in prepare_environment run_pip(f"install {gfpgan_package}", "gfpgan") File "D:\stable-diffusion-webui-1.2.0\launch.py", line 143, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "D:\stable-diffusion-webui-1.2.0\launch.py", line 111, in run raise RuntimeError(message) RuntimeError: Couldn't install gfpgan. Command: "D:\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary Error code: 1
解决办法是手动本地安装它,直接到github下载或者git clone 拉下来 提示的代码到本地
https://github.com/TencentARC/GFPGAN.git
把代码解压到D:\stable-diffusion-webui-1.2.0\venv\Scripts\下面
对于python不太懂 但是根据各种查博文知道需要在stable diffusion根目录的这个路径下的python.exe进行操作安装,D:\stable-diffusion-webui-1.2.0\venv\Scripts\ 那就按照要求来操作
在这个目录下分别执行三条指令
D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install basicsr facexlib D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install -r requirements.txt D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe setup.py develop
三条指令的执行过程
PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\GFPGAN-master> D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install basicsr facexlib Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting basicsr Using cached https://pypi.tuna.tsinghua.edu.cn/packages/86/41/00a6b000f222f0fa4c6d9e1d6dcc9811a374cabb8abb9d408b77de39648c/basicsr-1.4.2.tar.gz (172 kB) Preparing metadata (setup.py) ... done Collecting facexlib Using cached https://pypi.tuna.tsinghua.edu.cn/packages/36/7b/2147339dafe1c4800514c9c21ee4444f8b419ce51dfc7695220a8e0069a6/facexlib-0.3.0-py3-none-any.whl (59 kB) Collecting addict Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl (3.8 kB) Collecting future Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB) Preparing metadata (setup.py) ... done Collecting lmdb Using cached https://pypi.tuna.tsinghua.edu.cn/packages/66/05/21a93eed7ff800f7c3b0538eb12bde89660a44693624cd0e49141beccb8b/lmdb-1.4.1-cp310-cp310-win_amd64.whl (100 kB) Requirement already satisfied: numpy>=1.17 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr) (1.24.3) Collecting opencv-python Using cached https://pypi.tuna.tsinghua.edu.cn/packages/36/98/fab8d982e2e2b57bdebcad64c7e5b5a14ac91c657cac509b9cf3fbea49d2/opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB) Requirement already satisfied: Pillow in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr) (9.5.0) Collecting pyyaml Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b7/09/2f6f4851bbca08642fef087bade095edc3c47f28d1e7bff6b20de5262a77/PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB) Requirement already satisfied: requests in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr) (2.30.0) Collecting scikit-image Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2f/2e/14cbb86b2df8a1ffbbf01c7a42743bb1614ddc2c087a040c08a7ccba8b56/scikit_image-0.20.0-cp310-cp310-win_amd64.whl (23.7 MB) Collecting scipy Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ec/e3/b06ac3738bf365e89710205a471abe7dceec672a51c244b469bc5d1291c7/scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) Collecting tb-nightly Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f1/68/0b6bb0c253b632530e9cec6507959ec8d22229bef821c36cb3ecd04bd6d1/tb_nightly-2.14.0a20230511-py3-none-any.whl (5.6 MB) Requirement already satisfied: torch>=1.7 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr) (2.0.1+cu118) Requirement already satisfied: torchvision in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr) (0.15.2+cu118) Collecting tqdm Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e6/02/a2cff6306177ae6bc73bc0665065de51dfb3b9db7373e122e2735faf0d97/tqdm-4.65.0-py3-none-any.whl (77 kB) Collecting yapf Using cached https://pypi.tuna.tsinghua.edu.cn/packages/32/ec/531851d561ecb656bd58dc102338d0aa07e086788f351c63a9f6b8a00fe6/yapf-0.33.0-py2.py3-none-any.whl (200 kB) Collecting filterpy Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f6/1d/ac8914360460fafa1990890259b7fa5ef7ba4cd59014e782e4ab3ab144d8/filterpy-1.4.5.zip (177 kB) ---------------------------------------- 178.0/178.0 kB 167.7 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting numba Using cached https://pypi.tuna.tsinghua.edu.cn/packages/82/5e/a07b83195097073c4d6ba546123c90cb684f4f20c84e9c1937bd6c643c82/numba-0.57.0-cp310-cp310-win_amd64.whl (2.6 MB) Requirement already satisfied: networkx in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->basicsr) (3.1) Requirement already satisfied: jinja2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->basicsr) (3.1.2) Requirement already satisfied: typing-extensions in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->basicsr) (4.5.0) Requirement already satisfied: sympy in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->basicsr) (1.12) Requirement already satisfied: filelock in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->basicsr) (3.12.0) Collecting matplotlib Using cached https://pypi.tuna.tsinghua.edu.cn/packages/07/76/fde990f131450f08eb06e50814b98d347b14d7916c0ec31cba0a65a9be2b/matplotlib-3.7.1-cp310-cp310-win_amd64.whl (7.6 MB) Collecting llvmlite<0.41,>=0.40.0dev0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/68/cb/5e40659fa378804a208701227947284cc83da6daab864cb95219d48463b1/llvmlite-0.40.0-cp310-cp310-win_amd64.whl (27.7 MB) Requirement already satisfied: charset-normalizer<4,>=2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr) (3.1.0) Requirement already satisfied: certifi>=2017.4.17 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr) (2023.5.7) Requirement already satisfied: urllib3<3,>=1.21.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr) (2.0.2) Requirement already satisfied: idna<4,>=2.5 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr) (3.4) Collecting imageio>=2.4.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e9/67/98ed2279fcd66cc50112abb8f5a3de4526307dc43a16d220d7b48afd113a/imageio-2.28.1-py3-none-any.whl (3.4 MB) Collecting lazy_loader>=0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a1/a8/c41f46b47a381bd60a40c0ef00d2fd1722b743b178f9c1cec0da949043de/lazy_loader-0.2-py3-none-any.whl (8.6 kB) Collecting PyWavelets>=1.1.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/35/12/f1a4f72b5d71497e4200e71e253cc747077d8570b55693faaa7b81fb6dff/PyWavelets-1.4.1-cp310-cp310-win_amd64.whl (4.2 MB) Collecting packaging>=20.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB) Collecting tifffile>=2019.7.26 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/93/86/2ed10947a1891ceb86b084153fac06877fdec38a5ed69bd9286eefab3d44/tifffile-2023.4.12-py3-none-any.whl (219 kB) Requirement already satisfied: setuptools>=41.0.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->basicsr) (63.2.0) Collecting werkzeug>=1.0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c2/2f/f0dc628295bd23571c962d5a349307d9c8796a05bfca6571659eaded38e2/Werkzeug-2.3.4-py3-none-any.whl (242 kB) Collecting protobuf>=3.19.6 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/89/e1/c03399e5bf8b2fb97f0f41e9039583fc78040503559bed5a09ac3ea15421/protobuf-4.23.0-cp310-abi3-win_amd64.whl (422 kB) Collecting google-auth<3,>=1.6.3 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3a/fa/fccfb0bc0eed5e12f24db9e4a0c92694eec16bd986323f85e354952e4e07/google_auth-2.18.0-py2.py3-none-any.whl (178 kB) Collecting google-auth-oauthlib<1.1,>=0.5 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/4a/07/8d9a8186e6768b55dfffeb57c719bc03770cf8a970a074616ae6f9e26a57/google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB) Collecting wheel>=0.26 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Collecting tensorboard-data-server<0.8.0,>=0.7.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9d/cc/6f07c0043b44b3c3879ecfec1b8a450b6f5e3f8dccfedc9f5f1bc2c650e6/tensorboard_data_server-0.7.0-py3-none-any.whl (2.4 kB) Collecting grpcio>=1.48.2 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/4c/d7/52dddfff4658c0a37c9b47dc18bc297cb566b8f73bcdbb8f2e7b16a9de07/grpcio-1.54.0-cp310-cp310-win_amd64.whl (4.1 MB) Collecting markdown>=2.6.8 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9a/a1/1352b0e5a3c71a79fa9265726e2217f69df9fd4de0bcb5725cc61f62a5df/Markdown-3.4.3-py3-none-any.whl (93 kB) Collecting absl-py>=0.4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/dd/87/de5c32fa1b1c6c3305d576e299801d8655c175ca9557019906247b994331/absl_py-1.4.0-py3-none-any.whl (126 kB) Collecting colorama Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting tomli>=2.0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl (12 kB) Collecting six>=1.9.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting urllib3<3,>=1.21.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7b/f5/890a0baca17a61c1f92f72b81d3c31523c99bec609e60c292ea55b387ae8/urllib3-1.26.15-py2.py3-none-any.whl (140 kB) Collecting pyasn1-modules>=0.2.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/cd/8e/bea464350e1b8c6ed0da3a312659cb648804a08af6cacc6435867f74f8bd/pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB) Collecting rsa<5,>=3.1.4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/49/97/fa78e3d2f65c02c8e1268b9aba606569fe97f6c8f7c2d74394553347c145/rsa-4.9-py3-none-any.whl (34 kB) Collecting cachetools<6.0,>=2.0.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/db/14/2b48a834d349eee94677e8702ea2ef98b7c674b090153ea8d3f6a788584e/cachetools-5.3.0-py3-none-any.whl (9.3 kB) Collecting requests-oauthlib>=0.7.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Requirement already satisfied: MarkupSafe>=2.1.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from werkzeug>=1.0.1->tb-nightly->basicsr) (2.1.2) Collecting kiwisolver>=1.0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/68/20/2ce1186ef4edf47281faf58f6dd72a1fcd2be1fc66514bd2d220097bdcd1/kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) Collecting pyparsing>=2.3.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting cycler>=0.10 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting fonttools>=4.22.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ad/5f/20da4f41e33e77723b0100ded6539529bd159319ed49d6459a4647cdc7ee/fonttools-4.39.4-py3-none-any.whl (1.0 MB) Collecting python-dateutil>=2.7 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting contourpy>=1.0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b6/b8/6894c9e851f7442ebbc054537f56021c9ebc0691799ac4b92e380f3a2712/contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) Requirement already satisfied: mpmath>=0.19 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from sympy->torch>=1.7->basicsr) (1.3.0) Collecting pyasn1<0.6.0,>=0.4.6 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/14/e5/b56a725cbde139aa960c26a1a3ca4d4af437282e20b5314ee6a3501e7dfc/pyasn1-0.5.0-py2.py3-none-any.whl (83 kB) Collecting oauthlib>=3.0.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7e/80/cab10959dc1faead58dc8384a781dfbf93cb4d33d50988f7a69f1b7c9bbe/oauthlib-3.2.2-py3-none-any.whl (151 kB) Using legacy 'setup.py install' for basicsr, since package 'wheel' is not installed. Using legacy 'setup.py install' for filterpy, since package 'wheel' is not installed. Using legacy 'setup.py install' for future, since package 'wheel' is not installed. Installing collected packages: lmdb, addict, wheel, werkzeug, urllib3, tomli, tifffile, tensorboard-data-server, six, scipy, pyyaml, PyWavelets, pyparsing, pyasn1, protobuf, packaging, opencv-python, oauthlib, markdown, llvmlite, lazy_loader, kiwisolver, imageio, grpcio, future, fonttools, cycler, contourpy, colorama, cachetools, absl-py, yapf, tqdm, scikit-image, rsa, python-dateutil, pyasn1-modules, numba, requests-oauthlib, matplotlib, google-auth, google-auth-oauthlib, filterpy, tb-nightly, facexlib, basicsr Attempting uninstall: urllib3 Found existing installation: urllib3 2.0.2 Uninstalling urllib3-2.0.2: Successfully uninstalled urllib3-2.0.2 Running setup.py install for future ... done Running setup.py install for filterpy ... done Running setup.py install for basicsr ... done Successfully installed PyWavelets-1.4.1 absl-py-1.4.0 addict-2.4.0 basicsr-1.4.2 cachetools-5.3.0 colorama-0.4.6 contourpy-1.0.7 cycler-0.11.0 facexlib-0.3.0 filterpy-1.4.5 fonttools-4.39.4 future-0.18.3 google-auth-2.18.0 google-auth-oauthlib-1.0.0 grpcio-1.54.0 imageio-2.28.1 kiwisolver-1.4.4 lazy_loader-0.2 llvmlite-0.40.0 lmdb-1.4.1 markdown-3.4.3 matplotlib-3.7.1 numba-0.57.0 oauthlib-3.2.2 opencv-python-4.7.0.72 packaging-23.1 protobuf-4.23.0 pyasn1-0.5.0 pyasn1-modules-0.3.0 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-6.0 requests-oauthlib-1.3.1 rsa-4.9 scikit-image-0.20.0 scipy-1.10.1 six-1.16.0 tb-nightly-2.14.0a20230511 tensorboard-data-server-0.7.0 tifffile-2023.4.12 tomli-2.0.1 tqdm-4.65.0 urllib3-1.26.15 werkzeug-2.3.4 wheel-0.40.0 yapf-0.33.0 [notice] A new release of pip available: 22.2.1 -> 23.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install --upgrade pip PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\GFPGAN-master> D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install -r requirements.txt Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: basicsr>=1.4.2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 1)) (1.4.2) Requirement already satisfied: facexlib>=0.2.5 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 2)) (0.3.0) Requirement already satisfied: lmdb in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 3)) (1.4.1) Requirement already satisfied: numpy in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 4)) (1.24.3) Requirement already satisfied: opencv-python in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 5)) (4.7.0.72) Requirement already satisfied: pyyaml in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 6)) (6.0) Requirement already satisfied: scipy in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 7)) (1.10.1) Requirement already satisfied: tb-nightly in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 8)) (2.14.0a20230511) Requirement already satisfied: torch>=1.7 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 9)) (2.0.1+cu118) Requirement already satisfied: torchvision in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 10)) (0.15.2+cu118) Requirement already satisfied: tqdm in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 11)) (4.65.0) Requirement already satisfied: yapf in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from -r requirements.txt (line 12)) (0.33.0) Requirement already satisfied: addict in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr>=1.4.2->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: future in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr>=1.4.2->-r requirements.txt (line 1)) (0.18.3) Requirement already satisfied: Pillow in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr>=1.4.2->-r requirements.txt (line 1)) (9.5.0) Requirement already satisfied: requests in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr>=1.4.2->-r requirements.txt (line 1)) (2.30.0) Requirement already satisfied: scikit-image in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from basicsr>=1.4.2->-r requirements.txt (line 1)) (0.20.0) Requirement already satisfied: filterpy in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from facexlib>=0.2.5->-r requirements.txt (line 2)) (1.4.5) Requirement already satisfied: numba in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from facexlib>=0.2.5->-r requirements.txt (line 2)) (0.57.0) Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (0.7.0) Requirement already satisfied: wheel>=0.26 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (0.40.0) Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (1.0.0) Requirement already satisfied: setuptools>=41.0.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (63.2.0) Requirement already satisfied: werkzeug>=1.0.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (2.3.4) Requirement already satisfied: absl-py>=0.4 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (1.4.0) Requirement already satisfied: grpcio>=1.48.2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (1.54.0) Requirement already satisfied: protobuf>=3.19.6 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (4.23.0) Requirement already satisfied: markdown>=2.6.8 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (3.4.3) Requirement already satisfied: google-auth<3,>=1.6.3 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tb-nightly->-r requirements.txt (line 8)) (2.18.0) Requirement already satisfied: jinja2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->-r requirements.txt (line 9)) (3.1.2) Requirement already satisfied: typing-extensions in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->-r requirements.txt (line 9)) (4.5.0) Requirement already satisfied: networkx in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->-r requirements.txt (line 9)) (3.1) Requirement already satisfied: sympy in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->-r requirements.txt (line 9)) (1.12) Requirement already satisfied: filelock in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from torch>=1.7->-r requirements.txt (line 9)) (3.12.0) Requirement already satisfied: colorama in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from tqdm->-r requirements.txt (line 11)) (0.4.6) Requirement already satisfied: tomli>=2.0.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from yapf->-r requirements.txt (line 12)) (2.0.1) Requirement already satisfied: pyasn1-modules>=0.2.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (0.3.0) Requirement already satisfied: six>=1.9.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (1.16.0) Requirement already satisfied: urllib3<2.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (1.26.15) Requirement already satisfied: rsa<5,>=3.1.4 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (4.9) Requirement already satisfied: cachetools<6.0,>=2.0.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (5.3.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from google-auth-oauthlib<1.1,>=0.5->tb-nightly->-r requirements.txt (line 8)) (1.3.1) Requirement already satisfied: charset-normalizer<4,>=2 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr>=1.4.2->-r requirements.txt (line 1)) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr>=1.4.2->-r requirements.txt (line 1)) (3.4) Requirement already satisfied: certifi>=2017.4.17 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests->basicsr>=1.4.2->-r requirements.txt (line 1)) (2023.5.7) Requirement already satisfied: MarkupSafe>=2.1.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from werkzeug>=1.0.1->tb-nightly->-r requirements.txt (line 8)) (2.1.2) Requirement already satisfied: matplotlib in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (3.7.1) Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from numba->facexlib>=0.2.5->-r requirements.txt (line 2)) (0.40.0) Requirement already satisfied: packaging>=20.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from scikit-image->basicsr>=1.4.2->-r requirements.txt (line 1)) (23.1) Requirement already satisfied: PyWavelets>=1.1.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from scikit-image->basicsr>=1.4.2->-r requirements.txt (line 1)) (1.4.1) Requirement already satisfied: tifffile>=2019.7.26 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from scikit-image->basicsr>=1.4.2->-r requirements.txt (line 1)) (2023.4.12) Requirement already satisfied: imageio>=2.4.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from scikit-image->basicsr>=1.4.2->-r requirements.txt (line 1)) (2.28.1) Requirement already satisfied: lazy_loader>=0.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from scikit-image->basicsr>=1.4.2->-r requirements.txt (line 1)) (0.2) Requirement already satisfied: mpmath>=0.19 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from sympy->torch>=1.7->-r requirements.txt (line 9)) (1.3.0) Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->-r requirements.txt (line 8)) (0.5.0) Requirement already satisfied: oauthlib>=3.0.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tb-nightly->-r requirements.txt (line 8)) (3.2.2) Requirement already satisfied: kiwisolver>=1.0.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (1.4.4) Requirement already satisfied: fonttools>=4.22.0 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (4.39.4) Requirement already satisfied: pyparsing>=2.3.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (2.8.2) Requirement already satisfied: cycler>=0.10 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (0.11.0) Requirement already satisfied: contourpy>=1.0.1 in d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages (from matplotlib->filterpy->facexlib>=0.2.5->-r requirements.txt (line 2)) (1.0.7) [notice] A new release of pip available: 22.2.1 -> 23.1.2 [notice] To update, run: D:\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe -m pip install --upgrade pip PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\GFPGAN-master> D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe setup.py develop D:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( running develop D:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info creating gfpgan.egg-info writing gfpgan.egg-info\PKG-INFO writing dependency_links to gfpgan.egg-info\dependency_links.txt writing requirements to gfpgan.egg-info\requires.txt writing top-level names to gfpgan.egg-info\top_level.txt writing manifest file 'gfpgan.egg-info\SOURCES.txt' reading manifest file 'gfpgan.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'inputs\*' adding license file 'LICENSE' writing manifest file 'gfpgan.egg-info\SOURCES.txt' running build_ext Creating d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\gfpgan.egg-link (link to .) Adding gfpgan 1.3.8 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.0\venv\scripts\gfpgan-master Processing dependencies for gfpgan==1.3.8 Searching for yapf==0.33.0 Best match: yapf 0.33.0 Adding yapf 0.33.0 to easy-install.pth file Installing yapf-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing yapf.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing yapf-diff-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing yapf-diff.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tqdm==4.65.0 Best match: tqdm 4.65.0 Adding tqdm 4.65.0 to easy-install.pth file Installing tqdm-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tqdm.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for torchvision==0.15.2+cu118 Best match: torchvision 0.15.2+cu118 Adding torchvision 0.15.2+cu118 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for torch==2.0.1+cu118 Best match: torch 2.0.1+cu118 Adding torch 2.0.1+cu118 to easy-install.pth file Installing convert-caffe2-to-onnx-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-caffe2-to-onnx.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-onnx-to-caffe2-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-onnx-to-caffe2.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing torchrun-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing torchrun.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tb-nightly==2.14.0a20230511 Best match: tb-nightly 2.14.0a20230511 Adding tb-nightly 2.14.0a20230511 to easy-install.pth file Installing tensorboard-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tensorboard.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for scipy==1.10.1 Best match: scipy 1.10.1 Adding scipy 1.10.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for PyYAML==6.0 Best match: PyYAML 6.0 Adding PyYAML 6.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for opencv-python==4.7.0.72 Best match: opencv-python 4.7.0.72 Adding opencv-python 4.7.0.72 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for numpy==1.24.3 Best match: numpy 1.24.3 Adding numpy 1.24.3 to easy-install.pth file Installing f2py-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing f2py.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for lmdb==1.4.1 Best match: lmdb 1.4.1 Adding lmdb 1.4.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for facexlib==0.3.0 Best match: facexlib 0.3.0 Adding facexlib 0.3.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for basicsr==1.4.2 Best match: basicsr 1.4.2 Adding basicsr 1.4.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tomli==2.0.1 Best match: tomli 2.0.1 Adding tomli 2.0.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for colorama==0.4.6 Best match: colorama 0.4.6 Adding colorama 0.4.6 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for Pillow==9.5.0 Best match: Pillow 9.5.0 Adding Pillow 9.5.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for requests==2.30.0 Best match: requests 2.30.0 Adding requests 2.30.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for Jinja2==3.1.2 Best match: Jinja2 3.1.2 Adding Jinja2 3.1.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for networkx==3.1 Best match: networkx 3.1 Adding networkx 3.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for sympy==1.12 Best match: sympy 1.12 Adding sympy 1.12 to easy-install.pth file Installing isympy-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing isympy.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for typing-extensions==4.5.0 Best match: typing-extensions 4.5.0 Adding typing-extensions 4.5.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for filelock==3.12.0 Best match: filelock 3.12.0 Adding filelock 3.12.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for wheel==0.40.0 Best match: wheel 0.40.0 Adding wheel 0.40.0 to easy-install.pth file Installing wheel-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing wheel.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for Werkzeug==2.3.4 Best match: Werkzeug 2.3.4 Adding Werkzeug 2.3.4 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tensorboard-data-server==0.7.0 Best match: tensorboard-data-server 0.7.0 Adding tensorboard-data-server 0.7.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for setuptools==63.2.0 Best match: setuptools 63.2.0 Adding setuptools 63.2.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for protobuf==4.23.0 Best match: protobuf 4.23.0 Adding protobuf 4.23.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for Markdown==3.4.3 Best match: Markdown 3.4.3 Adding Markdown 3.4.3 to easy-install.pth file Installing markdown_py-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing markdown_py.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for google-auth-oauthlib==1.0.0 Best match: google-auth-oauthlib 1.0.0 Adding google-auth-oauthlib 1.0.0 to easy-install.pth file Installing google-oauthlib-tool-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing google-oauthlib-tool.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for google-auth==2.18.0 Best match: google-auth 2.18.0 Adding google-auth 2.18.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for grpcio==1.54.0 Best match: grpcio 1.54.0 Adding grpcio 1.54.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for absl-py==1.4.0 Best match: absl-py 1.4.0 Adding absl-py 1.4.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for numba==0.57.0 Best match: numba 0.57.0 Adding numba 0.57.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for filterpy==1.4.5 Best match: filterpy 1.4.5 Adding filterpy 1.4.5 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for scikit-image==0.20.0 Best match: scikit-image 0.20.0 Adding scikit-image 0.20.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for future==0.18.3 Best match: future 0.18.3 Adding future 0.18.3 to easy-install.pth file Installing futurize-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing futurize.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pasteurize-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pasteurize.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for addict==2.4.0 Best match: addict 2.4.0 Adding addict 2.4.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for certifi==2023.5.7 Best match: certifi 2023.5.7 Adding certifi 2023.5.7 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for urllib3==1.26.15 Best match: urllib3 1.26.15 Adding urllib3 1.26.15 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for idna==3.4 Best match: idna 3.4 Adding idna 3.4 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for charset-normalizer==3.1.0 Best match: charset-normalizer 3.1.0 Adding charset-normalizer 3.1.0 to easy-install.pth file Installing normalizer-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing normalizer.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for MarkupSafe==2.1.2 Best match: MarkupSafe 2.1.2 Adding MarkupSafe 2.1.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for mpmath==1.3.0 Best match: mpmath 1.3.0 Adding mpmath 1.3.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for requests-oauthlib==1.3.1 Best match: requests-oauthlib 1.3.1 Adding requests-oauthlib 1.3.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for rsa==4.9 Best match: rsa 4.9 Adding rsa 4.9 to easy-install.pth file Installing pyrsa-decrypt-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-decrypt.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-encrypt-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-encrypt.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-keygen-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-keygen.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-priv2pub-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-priv2pub.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-sign-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-sign.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-verify-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyrsa-verify.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for pyasn1-modules==0.3.0 Best match: pyasn1-modules 0.3.0 Adding pyasn1-modules 0.3.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for cachetools==5.3.0 Best match: cachetools 5.3.0 Adding cachetools 5.3.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for llvmlite==0.40.0 Best match: llvmlite 0.40.0 Adding llvmlite 0.40.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for matplotlib==3.7.1 Best match: matplotlib 3.7.1 Adding matplotlib 3.7.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for lazy-loader==0.2 Best match: lazy-loader 0.2 Adding lazy-loader 0.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for packaging==23.1 Best match: packaging 23.1 Adding packaging 23.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for PyWavelets==1.4.1 Best match: PyWavelets 1.4.1 Adding PyWavelets 1.4.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tifffile==2023.4.12 Best match: tifffile 2023.4.12 Adding tifffile 2023.4.12 to easy-install.pth file Installing lsm2bin-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing lsm2bin.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tiff2fsspec-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tiff2fsspec.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tiffcomment-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tiffcomment.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tifffile-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tifffile.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for imageio==2.28.1 Best match: imageio 2.28.1 Adding imageio 2.28.1 to easy-install.pth file Installing imageio_download_bin-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing imageio_download_bin.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing imageio_remove_bin-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing imageio_remove_bin.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for oauthlib==3.2.2 Best match: oauthlib 3.2.2 Adding oauthlib 3.2.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for pyasn1==0.5.0 Best match: pyasn1 0.5.0 Adding pyasn1 0.5.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for python-dateutil==2.8.2 Best match: python-dateutil 2.8.2 Adding python-dateutil 2.8.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for pyparsing==3.0.9 Best match: pyparsing 3.0.9 Adding pyparsing 3.0.9 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for kiwisolver==1.4.4 Best match: kiwisolver 1.4.4 Adding kiwisolver 1.4.4 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for fonttools==4.39.4 Best match: fonttools 4.39.4 Adding fonttools 4.39.4 to easy-install.pth file Installing fonttools-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing fonttools.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyftmerge-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyftmerge.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyftsubset-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing pyftsubset.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing ttx-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing ttx.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for cycler==0.11.0 Best match: cycler 0.11.0 Adding cycler 0.11.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for contourpy==1.0.7 Best match: contourpy 1.0.7 Adding contourpy 1.0.7 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Finished processing dependencies for gfpgan==1.3.8 PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\GFPGAN-master>
2.open_clip,stable-diffusion-webui(1.2.1版本) 中已经给出了安装的方式 这里简单重复记录下(1.2.0)
进入open_clip目录后执行
D:\\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe setup.py build install
3.clip的安装 clip的安装和open_clip一致的 将下载后的解压放在D:\stable-diffusion-webui-1.2.0\venv\Scripts\下面
https://github.com/openai/CLIP.git
D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe setup.py build install
指令的执行日志
PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\CLIP-main> D:\\stable-diffusion-webui-1.2.0\venv\Scripts\python.exe setup.py build install running build running build_py file clip.py (for module clip) not found creating build creating build\lib creating build\lib\clip copying clip\clip.py -> build\lib\clip copying clip\model.py -> build\lib\clip copying clip\simple_tokenizer.py -> build\lib\clip copying clip\__init__.py -> build\lib\clip running egg_info creating clip.egg-info writing clip.egg-info\PKG-INFO writing dependency_links to clip.egg-info\dependency_links.txt writing requirements to clip.egg-info\requires.txt writing top-level names to clip.egg-info\top_level.txt writing manifest file 'clip.egg-info\SOURCES.txt' file clip.py (for module clip) not found reading manifest file 'clip.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'clip.egg-info\SOURCES.txt' copying clip\bpe_simple_vocab_16e6.txt.gz -> build\lib\clip file clip.py (for module clip) not found running install D:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg installing library code to build\bdist.win-amd64\egg running install_lib creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\clip copying build\lib\clip\bpe_simple_vocab_16e6.txt.gz -> build\bdist.win-amd64\egg\clip copying build\lib\clip\clip.py -> build\bdist.win-amd64\egg\clip copying build\lib\clip\model.py -> build\bdist.win-amd64\egg\clip copying build\lib\clip\simple_tokenizer.py -> build\bdist.win-amd64\egg\clip copying build\lib\clip\__init__.py -> build\bdist.win-amd64\egg\clip byte-compiling build\bdist.win-amd64\egg\clip\clip.py to clip.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\clip\model.py to model.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\clip\simple_tokenizer.py to simple_tokenizer.cpython-310.pyc byte-compiling build\bdist.win-amd64\egg\clip\__init__.py to __init__.cpython-310.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying clip.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying clip.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying clip.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying clip.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying clip.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO zip_safe flag not set; analyzing archive contents... clip.__pycache__.simple_tokenizer.cpython-310: module references __file__ creating dist creating 'dist\clip-1.0-py3.10.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing clip-1.0-py3.10.egg creating d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\clip-1.0-py3.10.egg Extracting clip-1.0-py3.10.egg to d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Adding clip 1.0 to easy-install.pth file Installed d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\clip-1.0-py3.10.egg Processing dependencies for clip==1.0 Searching for torchvision==0.15.2+cu118 Best match: torchvision 0.15.2+cu118 Adding torchvision 0.15.2+cu118 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for torch==2.0.1+cu118 Best match: torch 2.0.1+cu118 Adding torch 2.0.1+cu118 to easy-install.pth file Installing convert-caffe2-to-onnx-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-caffe2-to-onnx.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-onnx-to-caffe2-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing convert-onnx-to-caffe2.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing torchrun-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing torchrun.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for tqdm==4.65.0 Best match: tqdm 4.65.0 Adding tqdm 4.65.0 to easy-install.pth file Installing tqdm-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing tqdm.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for regex==2023.5.5 Best match: regex 2023.5.5 Processing regex-2023.5.5-py3.10-win-amd64.egg regex 2023.5.5 is already the active version in easy-install.pth Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\regex-2023.5.5-py3.10-win-amd64.egg Searching for ftfy==6.1.1 Best match: ftfy 6.1.1 Processing ftfy-6.1.1-py3.10.egg ftfy 6.1.1 is already the active version in easy-install.pth Installing ftfy-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing ftfy.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\ftfy-6.1.1-py3.10.egg Searching for Pillow==9.5.0 Best match: Pillow 9.5.0 Adding Pillow 9.5.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for requests==2.30.0 Best match: requests 2.30.0 Adding requests 2.30.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for numpy==1.24.3 Best match: numpy 1.24.3 Adding numpy 1.24.3 to easy-install.pth file Installing f2py-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing f2py.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for Jinja2==3.1.2 Best match: Jinja2 3.1.2 Adding Jinja2 3.1.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for networkx==3.1 Best match: networkx 3.1 Adding networkx 3.1 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for sympy==1.12 Best match: sympy 1.12 Adding sympy 1.12 to easy-install.pth file Installing isympy-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing isympy.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for typing-extensions==4.5.0 Best match: typing-extensions 4.5.0 Adding typing-extensions 4.5.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for filelock==3.12.0 Best match: filelock 3.12.0 Adding filelock 3.12.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for colorama==0.4.6 Best match: colorama 0.4.6 Adding colorama 0.4.6 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for wcwidth==0.2.6 Best match: wcwidth 0.2.6 Processing wcwidth-0.2.6-py3.10.egg wcwidth 0.2.6 is already the active version in easy-install.pth Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages\wcwidth-0.2.6-py3.10.egg Searching for certifi==2023.5.7 Best match: certifi 2023.5.7 Adding certifi 2023.5.7 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for urllib3==1.26.15 Best match: urllib3 1.26.15 Adding urllib3 1.26.15 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for idna==3.4 Best match: idna 3.4 Adding idna 3.4 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for charset-normalizer==3.1.0 Best match: charset-normalizer 3.1.0 Adding charset-normalizer 3.1.0 to easy-install.pth file Installing normalizer-script.py script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Installing normalizer.exe script to D:\stable-diffusion-webui-1.2.0\venv\Scripts Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for MarkupSafe==2.1.2 Best match: MarkupSafe 2.1.2 Adding MarkupSafe 2.1.2 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Searching for mpmath==1.3.0 Best match: mpmath 1.3.0 Adding mpmath 1.3.0 to easy-install.pth file Using d:\stable-diffusion-webui-1.2.0\venv\lib\site-packages Finished processing dependencies for clip==1.0 PS D:\stable-diffusion-webui-1.2.0\venv\Scripts\CLIP-main>
[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: D:\stable-diffusion-webui-1.2.1\venv\Scripts\python.exe -m pip install --upgrade pip
这个notice除了第一次提示需要更新外 其他如果还提示 可以忽略了,因为已经安装到最新的了
如此,安装和遇到的问题记录完成!
cliclipdiffusionwebwebuiscriptjsonpythonsatgitcodeurloauthgangooglenumpygithubelowritingpytorcherpcloneandihuggingfacepsatokenctomarkdownmbaamlonnxberttransformeridexlastablediffusionappstable diffusionopenaimediumsifbpe