From 56c64702f7b1cbbcc9fc1e6d3a8c25056dfae109 Mon Sep 17 00:00:00 2001 From: Shadow Date: Sun, 8 Mar 2026 21:28:08 -0700 Subject: [PATCH] Add installation and error logs for dependency troubleshooting Includes detailed logs for attempts to install dependencies such as torch, torchvision, and clip, along with setuptools version changes. Documents various errors and issues encountered during setup, providing context for troubleshooting environment and package installation problems in the project. --- clip_manual_install_log.txt | 45 ++++++++++++++++++++ final_setup_log.txt | 56 ++++++++++++++++++++++++ final_setup_log2.txt | 55 ++++++++++++++++++++++++ final_setup_log3.txt | 55 ++++++++++++++++++++++++ install_log.txt | 3 ++ install_log_verify.txt | 80 +++++++++++++++++++++++++++++++++++ setuptools_downgrade_log.txt | 17 ++++++++ setuptools_fix_log.txt | 10 +++++ torch_check.txt | 1 + torch_check_after.txt | Bin 0 -> 864 bytes torch_check_final.txt | 1 + torch_install_log.txt | 23 ++++++++++ venv_check.txt | 1 + verify_torch.txt | 27 ++++++++++++ 14 files changed, 374 insertions(+) create mode 100644 clip_manual_install_log.txt create mode 100644 final_setup_log.txt create mode 100644 final_setup_log2.txt create mode 100644 final_setup_log3.txt create mode 100644 install_log.txt create mode 100644 install_log_verify.txt create mode 100644 setuptools_downgrade_log.txt create mode 100644 setuptools_fix_log.txt create mode 100644 torch_check.txt create mode 100644 torch_check_after.txt create mode 100644 torch_check_final.txt create mode 100644 torch_install_log.txt create mode 100644 venv_check.txt create mode 100644 verify_torch.txt diff --git a/clip_manual_install_log.txt b/clip_manual_install_log.txt new file mode 100644 index 000000000..807951c51 --- /dev/null +++ b/clip_manual_install_log.txt @@ -0,0 +1,45 @@ +Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip + Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) + Preparing metadata (pyproject.toml): started + Preparing metadata (pyproject.toml): finished with status 'done' +Collecting ftfy (from clip==1.0) + Downloading ftfy-6.3.1-py3-none-any.whl.metadata (7.3 kB) +Collecting regex (from clip==1.0) + Downloading regex-2026.2.28-cp310-cp310-win_amd64.whl.metadata (41 kB) +Collecting tqdm (from clip==1.0) + Downloading tqdm-4.67.3-py3-none-any.whl.metadata (57 kB) +Requirement already satisfied: torch in .\stable-diffusion-webui\venv\lib\site-packages (from clip==1.0) (2.1.2+cu121) +Requirement already satisfied: torchvision in .\stable-diffusion-webui\venv\lib\site-packages (from clip==1.0) (0.16.2+cu121) +Collecting wcwidth (from ftfy->clip==1.0) + Downloading wcwidth-0.6.0-py3-none-any.whl.metadata (30 kB) +Requirement already satisfied: filelock in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.25.0) +Requirement already satisfied: typing-extensions in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (4.15.0) +Requirement already satisfied: sympy in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (1.14.0) +Requirement already satisfied: networkx in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.4.2) +Requirement already satisfied: jinja2 in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.1.6) +Requirement already satisfied: fsspec in .\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (2026.2.0) +Requirement already satisfied: MarkupSafe>=2.0 in .\stable-diffusion-webui\venv\lib\site-packages (from jinja2->torch->clip==1.0) (3.0.3) +Requirement already satisfied: mpmath<1.4,>=1.1.0 in .\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch->clip==1.0) (1.3.0) +Requirement already satisfied: numpy in .\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (2.2.6) +Requirement already satisfied: requests in .\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (2.32.5) +Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in .\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (12.1.1) +Requirement already satisfied: charset_normalizer<4,>=2 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (3.4.5) +Requirement already satisfied: idna<4,>=2.5 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (3.11) +Requirement already satisfied: urllib3<3,>=1.21.1 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (1.26.13) +Requirement already satisfied: certifi>=2017.4.17 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (2026.2.25) +Collecting colorama (from tqdm->clip==1.0) + Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) +Downloading ftfy-6.3.1-py3-none-any.whl (44 kB) +Downloading regex-2026.2.28-cp310-cp310-win_amd64.whl (277 kB) +Downloading tqdm-4.67.3-py3-none-any.whl (78 kB) +Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) +Downloading wcwidth-0.6.0-py3-none-any.whl (94 kB) +Building wheels for collected packages: clip + Building wheel for clip (pyproject.toml): started + Building wheel for clip (pyproject.toml): finished with status 'done' + Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369374 sha256=0321fc8702cb0a1bedf835150d78bc7ece34e72d3dffc81ae3569fef6db91e83 + Stored in directory: C:\Users\Shadow\AppData\Local\Temp\pip-ephem-wheel-cache-carkh3xu\wheels\65\90\00\d0a540d9f2e2816c31a851fa1c1766a0ca21d9a5aeb3c57371 +Successfully built clip +Installing collected packages: wcwidth, regex, colorama, tqdm, ftfy, clip + +Successfully installed clip-1.0 colorama-0.4.6 ftfy-6.3.1 regex-2026.2.28 tqdm-4.67.3 wcwidth-0.6.0 diff --git a/final_setup_log.txt b/final_setup_log.txt new file mode 100644 index 000000000..2aabd064d --- /dev/null +++ b/final_setup_log.txt @@ -0,0 +1,56 @@ +venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe" +Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] +Version: v1.10.1 +Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 +Installing clip +Traceback (most recent call last): + File "C:\stable-diffusion-webui\launch.py", line 48, in + main() + File "C:\stable-diffusion-webui\launch.py", line 39, in main + prepare_environment() + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 394, in prepare_environment + run_pip(f"install {clip_package}", "clip") + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 144, 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 "C:\stable-diffusion-webui\modules\launch_utils.py", line 116, in run + raise RuntimeError("\n".join(error_bits)) +RuntimeError: Couldn't install clip. +Command: "C:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary +Error code: 1 +stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip + Downloading https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) + ---------------------------------------- 4.3/4.3 MB 52.0 MB/s 0:00:00 + Installing build dependencies: started + Installing build dependencies: finished with status 'done' + Getting requirements to build wheel: started + Getting requirements to build wheel: finished with status 'error' + +stderr: error: subprocess-exited-with-error + + Getting requirements to build wheel did not run successfully. + exit code: 1 + + [17 lines of output] + Traceback (most recent call last): + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in + main() + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main + json_out["return_val"] = hook(**hook_input["kwargs"]) + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel + return hook(config_settings) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-wtt0p3il\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel + return self._get_build_requires(config_settings, requirements=[]) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-wtt0p3il\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires + self.run_setup() + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-wtt0p3il\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup + super().run_setup(setup_script=setup_script) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-wtt0p3il\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup + exec(code, locals()) + File "", line 3, in + ModuleNotFoundError: No module named 'pkg_resources' + [end of output] + + note: This error originates from a subprocess, and is likely not a problem with pip. +ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel + +Press any key to continue . . . \ No newline at end of file diff --git a/final_setup_log2.txt b/final_setup_log2.txt new file mode 100644 index 000000000..197c6d4e1 --- /dev/null +++ b/final_setup_log2.txt @@ -0,0 +1,55 @@ +venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe" +Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] +Version: v1.10.1 +Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 +Installing clip +Traceback (most recent call last): + File "C:\stable-diffusion-webui\launch.py", line 48, in + main() + File "C:\stable-diffusion-webui\launch.py", line 39, in main + prepare_environment() + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 394, in prepare_environment + run_pip(f"install {clip_package}", "clip") + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 144, 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 "C:\stable-diffusion-webui\modules\launch_utils.py", line 116, in run + raise RuntimeError("\n".join(error_bits)) +RuntimeError: Couldn't install clip. +Command: "C:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary +Error code: 1 +stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip + Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) + Installing build dependencies: started + Installing build dependencies: finished with status 'done' + Getting requirements to build wheel: started + Getting requirements to build wheel: finished with status 'error' + +stderr: error: subprocess-exited-with-error + + Getting requirements to build wheel did not run successfully. + exit code: 1 + + [17 lines of output] + Traceback (most recent call last): + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in + main() + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main + json_out["return_val"] = hook(**hook_input["kwargs"]) + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel + return hook(config_settings) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-9lmwy79c\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel + return self._get_build_requires(config_settings, requirements=[]) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-9lmwy79c\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires + self.run_setup() + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-9lmwy79c\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup + super().run_setup(setup_script=setup_script) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-9lmwy79c\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup + exec(code, locals()) + File "", line 3, in + ModuleNotFoundError: No module named 'pkg_resources' + [end of output] + + note: This error originates from a subprocess, and is likely not a problem with pip. +ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel + +Press any key to continue . . . \ No newline at end of file diff --git a/final_setup_log3.txt b/final_setup_log3.txt new file mode 100644 index 000000000..df6765696 --- /dev/null +++ b/final_setup_log3.txt @@ -0,0 +1,55 @@ +venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe" +Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] +Version: v1.10.1 +Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 +Installing clip +Traceback (most recent call last): + File "C:\stable-diffusion-webui\launch.py", line 48, in + main() + File "C:\stable-diffusion-webui\launch.py", line 39, in main + prepare_environment() + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 394, in prepare_environment + run_pip(f"install {clip_package}", "clip") + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 144, 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 "C:\stable-diffusion-webui\modules\launch_utils.py", line 116, in run + raise RuntimeError("\n".join(error_bits)) +RuntimeError: Couldn't install clip. +Command: "C:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary +Error code: 1 +stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip + Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) + Installing build dependencies: started + Installing build dependencies: finished with status 'done' + Getting requirements to build wheel: started + Getting requirements to build wheel: finished with status 'error' + +stderr: error: subprocess-exited-with-error + + Getting requirements to build wheel did not run successfully. + exit code: 1 + + [17 lines of output] + Traceback (most recent call last): + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in + main() + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main + json_out["return_val"] = hook(**hook_input["kwargs"]) + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel + return hook(config_settings) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-ajrxi1a0\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel + return self._get_build_requires(config_settings, requirements=[]) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-ajrxi1a0\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires + self.run_setup() + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-ajrxi1a0\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup + super().run_setup(setup_script=setup_script) + File "C:\Users\Shadow\AppData\Local\Temp\pip-build-env-ajrxi1a0\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup + exec(code, locals()) + File "", line 3, in + ModuleNotFoundError: No module named 'pkg_resources' + [end of output] + + note: This error originates from a subprocess, and is likely not a problem with pip. +ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel + +Press any key to continue . . . \ No newline at end of file diff --git a/install_log.txt b/install_log.txt new file mode 100644 index 000000000..454bf4427 --- /dev/null +++ b/install_log.txt @@ -0,0 +1,3 @@ +venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe" +C:\Users\Shadow\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\launch.py': [Errno 2] No such file or directory +Press any key to continue . . . \ No newline at end of file diff --git a/install_log_verify.txt b/install_log_verify.txt new file mode 100644 index 000000000..ec53f1fec --- /dev/null +++ b/install_log_verify.txt @@ -0,0 +1,80 @@ +venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe" +Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121 +Collecting torch==2.1.2 + Downloading https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl (2473.9 MB) + ---------------------------------------- 2.5/2.5 GB ? 0:01:09 +Collecting torchvision==0.16.2 + Downloading https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-win_amd64.whl (5.6 MB) + ---------------------------------------- 5.6/5.6 MB 28.6 MB/s 0:00:00 +Collecting filelock (from torch==2.1.2) + Downloading filelock-3.25.0-py3-none-any.whl.metadata (2.0 kB) +Collecting typing-extensions (from torch==2.1.2) + Downloading https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) +Collecting sympy (from torch==2.1.2) + Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB) +Collecting networkx (from torch==2.1.2) + Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) +Collecting jinja2 (from torch==2.1.2) + Downloading https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) +Collecting fsspec (from torch==2.1.2) + Downloading fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) +Collecting numpy (from torchvision==0.16.2) + Downloading numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) +Collecting requests (from torchvision==0.16.2) + Downloading requests-2.32.5-py3-none-any.whl.metadata (4.9 kB) +Collecting pillow!=8.3.*,>=5.3.0 (from torchvision==0.16.2) + Downloading pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) +Collecting MarkupSafe>=2.0 (from jinja2->torch==2.1.2) + Downloading markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) +Collecting charset_normalizer<4,>=2 (from requests->torchvision==0.16.2) + Downloading charset_normalizer-3.4.5-cp310-cp310-win_amd64.whl.metadata (39 kB) +Collecting idna<4,>=2.5 (from requests->torchvision==0.16.2) + Downloading idna-3.11-py3-none-any.whl.metadata (8.4 kB) +Collecting urllib3<3,>=1.21.1 (from requests->torchvision==0.16.2) + Downloading urllib3-2.6.3-py3-none-any.whl.metadata (6.9 kB) +Collecting certifi>=2017.4.17 (from requests->torchvision==0.16.2) + Downloading certifi-2026.2.25-py3-none-any.whl.metadata (2.5 kB) +Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.1.2) + Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) +Downloading pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) + ---------------------------------------- 7.0/7.0 MB 8.8 MB/s 0:00:00 +Downloading filelock-3.25.0-py3-none-any.whl (26 kB) +Downloading fsspec-2026.2.0-py3-none-any.whl (202 kB) +Downloading https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) +Downloading markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) +Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB) + ---------------------------------------- 1.7/1.7 MB 10.4 MB/s 0:00:00 +Downloading numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) + ---------------------------------------- 12.9/12.9 MB 9.5 MB/s 0:00:01 +Downloading requests-2.32.5-py3-none-any.whl (64 kB) +Downloading charset_normalizer-3.4.5-cp310-cp310-win_amd64.whl (142 kB) +Downloading idna-3.11-py3-none-any.whl (71 kB) +Downloading urllib3-2.6.3-py3-none-any.whl (131 kB) +Downloading certifi-2026.2.25-py3-none-any.whl (153 kB) +Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB) + ---------------------------------------- 6.3/6.3 MB 11.0 MB/s 0:00:00 +Downloading mpmath-1.3.0-py3-none-any.whl (536 kB) + ---------------------------------------- 536.2/536.2 kB 8.8 MB/s 0:00:00 +Downloading https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) +Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset_normalizer, certifi, requests, jinja2, torch, torchvision +ERROR: Could not install packages due to an OSError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\stable-diffusion-webui\\venv\\Lib\\site-packages\\torchvision\\nvjpeg64_12.dll' +Check the permissions. + + +Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] +Version: v1.10.1 +Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 +Installing torch and torchvision +Traceback (most recent call last): + File "C:\stable-diffusion-webui\launch.py", line 48, in + main() + File "C:\stable-diffusion-webui\launch.py", line 39, in main + prepare_environment() + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 381, in prepare_environment + run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) + File "C:\stable-diffusion-webui\modules\launch_utils.py", line 116, in run + raise RuntimeError("\n".join(error_bits)) +RuntimeError: Couldn't install torch. +Command: "C:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121 +Error code: 1 +Press any key to continue . . . \ No newline at end of file diff --git a/setuptools_downgrade_log.txt b/setuptools_downgrade_log.txt new file mode 100644 index 000000000..13ef2735f --- /dev/null +++ b/setuptools_downgrade_log.txt @@ -0,0 +1,17 @@ +Collecting setuptools==69.5.1 + Downloading setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB) +Collecting wheel + Downloading wheel-0.46.3-py3-none-any.whl.metadata (2.4 kB) +Collecting packaging>=24.0 (from wheel) + Downloading packaging-26.0-py3-none-any.whl.metadata (3.3 kB) +Downloading setuptools-69.5.1-py3-none-any.whl (894 kB) + ---------------------------------------- 894.6/894.6 kB 13.5 MB/s 0:00:00 +Downloading wheel-0.46.3-py3-none-any.whl (30 kB) +Downloading packaging-26.0-py3-none-any.whl (74 kB) +Installing collected packages: setuptools, packaging, wheel + Attempting uninstall: setuptools + Found existing installation: setuptools 80.9.0 + Uninstalling setuptools-80.9.0: + Successfully uninstalled setuptools-80.9.0 + +Successfully installed packaging-26.0 setuptools-69.5.1 wheel-0.46.3 diff --git a/setuptools_fix_log.txt b/setuptools_fix_log.txt new file mode 100644 index 000000000..6d03735f4 --- /dev/null +++ b/setuptools_fix_log.txt @@ -0,0 +1,10 @@ +Collecting setuptools==80.9.0 + Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB) +Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB) + ---------------------------------------- 1.2/1.2 MB 30.3 MB/s 0:00:00 +Installing collected packages: setuptools + Attempting uninstall: setuptools + Found existing installation: setuptools 65.5.0 + Uninstalling setuptools-65.5.0: + Successfully uninstalled setuptools-65.5.0 +Successfully installed setuptools-80.9.0 diff --git a/torch_check.txt b/torch_check.txt new file mode 100644 index 000000000..ba0f262a2 --- /dev/null +++ b/torch_check.txt @@ -0,0 +1 @@ +WARNING: Package(s) not found: torch diff --git a/torch_check_after.txt b/torch_check_after.txt new file mode 100644 index 0000000000000000000000000000000000000000..278fb99b24218139dc9c548dd394c7441f091ac8 GIT binary patch literal 864 zcmezW&zZrBA%>xtp@bokA&DV}A(cUwA%!86A&nu8p_HMRA(J7WA&)_qp`0O=A&H@s zA(J77p^PDwA&;SqA%-ECA(^3wA(Nqip@gBBA%>xVp^~A5Ap@*Ok0F(zf+3Ybfx(JF zfgzm1ks*k|kHM3{kHH-*62Oqikj#+HkjRkEkjkLJP|TpopumvFkk3%UpumvEkk3%c zkjIb$R$Ic5&rrmW%#gvr%fQ9p2v(89kjaq8kjh}iV91~VmP=$PVz6Q`VlV}((q>R# z&;vsS23>|=hE#@Ru)9(iiWw9bOc|^h6d35?dtHWH1_g!!a40Fj-30On$b}#ge7KH* z-Vo$6n2SIzbY@6oC}ButNC(G3C4(nJ9yoSjYLIDAO#6XjFqokL9O9sql*y0^jYkct zr2{L5V1^QK+RI}|2dA89hFAt21_g#7hE#@Jup3etTp21Dk{MFL=@XKY(S7H}P|A?Q zki$^P5Xex=5.3.0 in .\stable-diffusion-webui\venv\lib\site-packages (from torchvision==0.16.2+cu121) (12.1.1) +Requirement already satisfied: MarkupSafe>=2.0 in .\stable-diffusion-webui\venv\lib\site-packages (from jinja2->torch==2.1.2+cu121) (3.0.3) +Requirement already satisfied: charset_normalizer<4,>=2 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.16.2+cu121) (3.4.5) +Requirement already satisfied: idna<4,>=2.5 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.16.2+cu121) (3.11) +Requirement already satisfied: urllib3<3,>=1.21.1 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.16.2+cu121) (1.26.13) +Requirement already satisfied: certifi>=2017.4.17 in .\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.16.2+cu121) (2026.2.25) +Requirement already satisfied: mpmath<1.4,>=1.1.0 in .\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch==2.1.2+cu121) (1.3.0) +Installing collected packages: torch, torchvision + +Successfully installed torch-2.1.2+cu121 torchvision-0.16.2+cu121 diff --git a/venv_check.txt b/venv_check.txt new file mode 100644 index 000000000..d86bac9de --- /dev/null +++ b/venv_check.txt @@ -0,0 +1 @@ +OK diff --git a/verify_torch.txt b/verify_torch.txt new file mode 100644 index 000000000..ea72beac5 --- /dev/null +++ b/verify_torch.txt @@ -0,0 +1,27 @@ +Traceback (most recent call last): + File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main + return _run_code(code, main_globals, None, + File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code + exec(code, run_globals) + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\__main__.py", line 24, in + sys.exit(_main()) + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\main.py", line 47, in main + from pip._internal.cli.autocompletion import autocomplete + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\autocompletion.py", line 12, in + from pip._internal.cli.main_parser import create_main_parser + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\main_parser.py", line 11, in + from pip._internal.build_env import get_runnable_pip + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\build_env.py", line 22, in + from pip._internal.cli.spinners import open_rich_spinner, open_spinner + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\spinners.py", line 22, in + from pip._internal.utils.logging import get_console, get_indentation + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\utils\logging.py", line 32, in + from pip._internal.utils.misc import StreamWrapper, ensure_dir + File "C:\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\utils\misc.py", line 5, in + import hashlib + File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\hashlib.py", line 261, in + globals()[__func_name] = __get_hash(__func_name) + File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\hashlib.py", line 137, in __get_openssl_constructor + f(usedforsecurity=False) +KeyboardInterrupt +^C \ No newline at end of file