Repository: stable-diffusion-webui
Issue: [Bug]: Automatic1111 installation doesn´t complete. Windows 10
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

As I did get problems with pnginfo and img2img (more on that later)  on my working installation I intended to make a new installation. Then I did get into more trouble as the git-based installation does not complete.
I use a GTX1050 Ti with 4 Gb. And have (re)installet Python 3.10.6.
Also notably I am 72 yrs old and has no programming experience so I am just following instructions!
I hope you can give me some clues on how to solve this. I assume it i something in my local environment?

### Steps to reproduce the problem

It is definitely repeatable on my machine, I have tried the installation numerous times, but now I am stuck!


### What should have happened?

The installation should have completed so I can access with Chrome (I have tried Edge as well, no difference).

### Commit where the problem happens

I haven't a clue.

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
No
```


### List of extensions

None, as I don't get that far.

### Console logs

```Shell
This is the log from my latest installation attempt (the others look the same):
Creating venv in directory C:\StabDiff230407\stable-diffusion-webui\venv using python "C:\Users\bjorn\AppData\Local\Programs\Python\Python310\python.exe"
venv "C:\StabDiff230407\stable-diffusion-webui\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)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
  Using cached https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl (2255.4 MB)
Collecting torchvision==0.14.1+cu117
  Using cached https://download.pytorch.org/whl/cu117/torchvision-0.14.1%2Bcu117-cp310-cp310-win_amd64.whl (4.8 MB)
Collecting typing-extensions
  Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting numpy
  Using cached numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB)
Collecting requests
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting idna<4,>=2.5
  Using cached https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
Collecting certifi>=2017.4.17
  Using cached https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
Installing collected packages: urllib3, typing-extensions, pillow, numpy, idna, charset-normalizer, certifi, torch, requests, torchvision
Successfully installed certifi-2022.12.7 charset-normalizer-3.1.0 idna-3.4 numpy-1.24.2 pillow-9.5.0 requests-2.28.2 torch-1.13.1+cu117 torchvision-0.14.1+cu117 typing-extensions-4.5.0 urllib3-1.26.15

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: C:\StabDiff230407\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Installing gfpgan
Installing clip
Installing open_clip
Cloning Stable Diffusion into C:\StabDiff230407\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Cloning Taming Transformers into C:\StabDiff230407\stable-diffusion-webui\repositories\taming-transformers...
Cloning K-diffusion into C:\StabDiff230407\stable-diffusion-webui\repositories\k-diffusion...
Cloning CodeFormer into C:\StabDiff230407\stable-diffusion-webui\repositories\CodeFormer...
Cloning BLIP into C:\StabDiff230407\stable-diffusion-webui\repositories\BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "C:\StabDiff230407\stable-diffusion-webui\launch.py", line 356, in <module>
    start()
  File "C:\StabDiff230407\stable-diffusion-webui\launch.py", line 347, in start
    import webui
  File "C:\StabDiff230407\stable-diffusion-webui\webui.py", line 43, in <module>
    import modules.gfpgan_model as gfpgan
  File "C:\StabDiff230407\stable-diffusion-webui\modules\gfpgan_model.py", line 6, in <module>
    import gfpgan
  File "C:\StabDiff230407\stable-diffusion-webui\venv\lib\site-packages\gfpgan\__init__.py", line 2, in <module>
    from .archs import *
  File "C:\StabDiff230407\stable-diffusion-webui\venv\lib\site-packages\gfpgan\archs\__init__.py", line 2, in <module>
    from basicsr.utils import scandir
  File "C:\StabDiff230407\stable-diffusion-webui\repositories\CodeFormer\basicsr\__init__.py", line 11, in <module>
    from .version import __gitsha__, __version__
ModuleNotFoundError: No module named 'basicsr.version'
```


### Additional information

My working installation works for txt2img but gives errors for pnginfo and img2img (see the attached file).

The cmd for this looks as follows:
Creating venv in directory C:\StabDiff230407\stable-diffusion-webui\venv using python "C:\Users\bjorn\AppData\Local\Programs\Python\Python310\python.exe"
venv "C:\StabDiff230407\stable-diffusion-webui\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)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
  Using cached https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl (2255.4 MB)
Collecting torchvision==0.14.1+cu117
  Using cached https://download.pytorch.org/whl/cu117/torchvision-0.14.1%2Bcu117-cp310-cp310-win_amd64.whl (4.8 MB)
Collecting typing-extensions
  Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting numpy
  Using cached numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB)
Collecting requests
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting idna<4,>=2.5
  Using cached https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
Collecting certifi>=2017.4.17
  Using cached https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
Installing collected packages: urllib3, typing-extensions, pillow, numpy, idna, charset-normalizer, certifi, torch, requests, torchvision
Successfully installed certifi-2022.12.7 charset-normalizer-3.1.0 idna-3.4 numpy-1.24.2 pillow-9.5.0 requests-2.28.2 torch-1.13.1+cu117 torchvision-0.14.1+cu117 typing-extensions-4.5.0 urllib3-1.26.15

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: C:\StabDiff230407\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Installing gfpgan
Installing clip
Installing open_clip
Cloning Stable Diffusion into C:\StabDiff230407\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Cloning Taming Transformers into C:\StabDiff230407\stable-diffusion-webui\repositories\taming-transformers...
Cloning K-diffusion into C:\StabDiff230407\stable-diffusion-webui\repositories\k-diffusion...
Cloning CodeFormer into C:\StabDiff230407\stable-diffusion-webui\repositories\CodeFormer...
Cloning BLIP into C:\StabDiff230407\stable-diffusion-webui\repositories\BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "C:\StabDiff230407\stable-diffusion-webui\launch.py", line 356, in <module>
    start()
  File "C:\StabDiff230407\stable-diffusion-webui\launch.py", line 347, in start
    import webui
  File "C:\StabDiff230407\stable-diffusion-webui\webui.py", line 43, in <module>
    import modules.gfpgan_model as gfpgan
  File "C:\StabDiff230407\stable-diffusion-webui\modules\gfpgan_model.py", line 6, in <module>
    import gfpgan
  File "C:\StabDiff230407\stable-diffusion-webui\venv\lib\site-packages\gfpgan\__init__.py", line 2, in <module>
    from .archs import *
  File "C:\StabDiff230407\stable-diffusion-webui\venv\lib\site-packages\gfpgan\archs\__init__.py", line 2, in <module>
    from basicsr.utils import scandir
  File "C:\StabDiff230407\stable-diffusion-webui\repositories\CodeFormer\basicsr\__init__.py", line 11, in <module>
    from .version import __gitsha__, __version__
ModuleNotFoundError: No module named 'basicsr.version'
[Pnginfo.pdf](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/11180351/Pnginfo.pdf)