Skip to content

[Bug]: No "jsonmerge" installed using the windows installation method - solution included. #12482

Open
@RandomInternetPreson

Description

@RandomInternetPreson

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    asking-for-help-with-local-system-issuesThis issue is asking for help related to local system; please offer assistanceupstreamIssue or feature that must be resolved upstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions