Repository: AUTOMATIC1111/stable-diffusion-webui

Issue #12482: [Bug]: No "jsonmerge" installed using the windows installation method - solution included.
Created: 2023-08-11T17:37:45Z
Is there an existing issue for this?

 I have searched the existing issues and checked the recent builds/commits

What happened?
I've seen people mention something similar to this in the issue tracker, but I think this is maybe a different issue and I haven't seen a widows install specific solution?  Okay so if I have python 3.10.6 installed, the initial installation of Auto1111 does not include the "jsonmerge" folder it ONLY installs the "jsonmerge-1.8.0.dist-info" folder.
So the program will not start.
However, if I have python 3.11.4 installed, both folders are installed as necessary and Auto1111 seems to run.  I am hesitate to run it in this configuration as it was not intended to run with this version of python (as indicated on the front page of the repo).
So I have taken the two folders worth of contents from the installation that used python 3.11.4 and put them in the installation that used python 3.10.6 and things seem to be working now.
I had tried various pip techniques and could not get the "jsonmerge" folder to install correctly.
Steps to reproduce the problem
I just built a new machine and followed the instructions on the front page of the repo.  I have done the suggested installation many times without fail on a previous machine.
What should have happened?
Auto1111 should have installed the "jsonmerge" folder, it only installed the "jsonmerge-1.8.0.dist-info" folder
Version or Commit where the problem happens
newest official release and the current repo version
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No
List of extensions
No
Console logs
Resolving deltas: 100% (287/287), done.
Cloning BLIP into L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\repositories\BLIP...
Cloning into 'L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\repositories\BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (165/165), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 277 (delta 137), reused 136 (delta 135), pack-reused 112
Receiving objects: 100% (277/277), 7.03 MiB | 11.18 MiB/s, done.

Resolving deltas: 100% (152/152), done.
Installing requirements for CodeFormer
Installing requirements
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\launch.py", line 39, in <module>
    main()
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\launch.py", line 35, in main
    start()
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\modules\launch_utils.py", line 390, in start
    import webui
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\webui.py", line 61, in <module>
    from modules import shared, sd_samplers, upscaler, extensions, localization, ui_tempdir, ui_extra_networks, config_states
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\modules\sd_samplers.py", line 1, in <module>
    from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\modules\sd_samplers_kdiffusion.py", line 4, in <module>
    import k_diffusion.sampling
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\repositories\k-diffusion\k_diffusion\__init__.py", line 1, in <module>
    from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
  File "L:\StableDiffusionAug11\stable-diffusion-webui-1.5.1\repositories\k-diffusion\k_diffusion\config.py", line 6, in <module>
    from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'
Press any key to continue . . .
Additional information
Really like the software, thanks!

Duplicate issue #13048: [Bug]:  Getting error when trying to run for the first time 
Created: 2023-09-04T03:44:26Z
Is there an existing issue for this?

 I have searched the existing issues and checked the recent builds/commits

What happened?
I was following the instructions for NVidia GPU
When I Run the run.bat I am getting the following error
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "H:\Code\A1111\webui\launch.py", line 48, in <module>
    main()
  File "H:\Code\A1111\webui\launch.py", line 44, in main
    start()
  File "H:\Code\A1111\webui\modules\launch_utils.py", line 432, in start
    import webui
  File "H:\Code\A1111\webui\webui.py", line 13, in <module>
    initialize.imports()
  File "H:\Code\A1111\webui\modules\initialize.py", line 37, in imports
    from modules import processing, gradio_extensons, ui  # noqa: F401
  File "H:\Code\A1111\webui\modules\processing.py", line 18, in <module>
    import modules.sd_hijack
  File "H:\Code\A1111\webui\modules\sd_hijack.py", line 5, in <module>
    from modules import devices, sd_hijack_optimizations, shared, script_callbacks, errors, sd_unet
  File "H:\Code\A1111\webui\modules\sd_hijack_optimizations.py", line 13, in <module>
    from modules.hypernetworks import hypernetwork
  File "H:\Code\A1111\webui\modules\hypernetworks\hypernetwork.py", line 13, in <module>
    from modules import devices, sd_models, shared, sd_samplers, hashes, sd_hijack_checkpoint, errors
  File "H:\Code\A1111\webui\modules\sd_samplers.py", line 1, in <module>
    from modules import sd_samplers_kdiffusion, sd_samplers_timesteps, shared
  File "H:\Code\A1111\webui\modules\sd_samplers_kdiffusion.py", line 3, in <module>
    import k_diffusion.sampling
  File "H:\Code\A1111\webui\repositories\k-diffusion\k_diffusion\__init__.py", line 1, in <module>
    from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
  File "H:\Code\A1111\webui\repositories\k-diffusion\k_diffusion\config.py", line 6, in <module>
    from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'

I have Python 3.10.6 installed with the option of add to PATH ticked
can someone help me with this.
Steps to reproduce the problem

follow the steps for installation for nvidia gpus windows method 1
On step 4, after its done installing and cmd says Launching webui with arguments:

I get the error
What should have happened?
it should run the ui
Sysinfo



What browsers do you use to access the UI ?
Google Chrome
Console logs
-
Additional information
No response

Closing comment (2023-09-05T14:10:16Z): Duplicate of #12482