Help & Questions Megathread!

Hey, I have issues getting the local url. I'm not into computer stuff but I tried my best to follow the Aitrepreneur Stable DIffusion 2.0 installation. First, I don't have any webui-user.bat file, it's only named webui-user, so I was wondering if there were any problem with that.

Finally, here's what I got when opening the file in order to get the url:

Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]

Commit hash: 685f9631b56ff8bd43bce24ff5ce0f9a0e9af490

Installing torch and torchvision

Traceback (most recent call last):

File "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\launch.py", line 294, in <module>

prepare_environment()

File "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\launch.py", line 206, in prepare_environment

run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")

File "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\launch.py", line 49, in run

raise RuntimeError(message)

RuntimeError: Couldn't install torch.

Command: "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113

Error code: 1

stdout: <empty>

stderr: Traceback (most recent call last):

File "C:\Users\emseb\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\emseb\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)

File "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\venv\lib\site-packages\pip\__main__.py", line 29, in <module>

from pip._internal.cli.main import main as _main

File "C:\Users\emseb\Downloads\SUPER SD 2.0\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\__init__.py", line 3, in <module>

import pip._internal.utils.inject_securetransport # noqa

ValueError: source code string cannot contain null bytes

Worst part being that just before that my computer started to freeze, after restarting it I got the error message or whatever this is.

/r/StableDiffusion Thread