-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: No "jsonmerge" installed using the windows installation method - solution included. #12482
Comments
I'll temporarily leave this open but I'll mention I can't reproduce this, and this is after doing a fresh venv install as of yesterday on the latest dev branch commit with Python 3.10.6. Your solution would work but it indicates something else is going wrong and I wouldn't recommend that as a permanent fix. |
related: crowsonkb/k-diffusion#73 |
I've encountered the same problem. After 2 hours' trying I deleted the folder Installed & cached modules could lead to fatal problems which can be got through by merely reinstalling them! That's terrible. I don't think common users with less knowledge in scripts and programming could solve this. I really hope the maintainers could update the setup scripts to improve robustness. |
I had the same issue after migrating to a new PC (but the cards are different generations so I re-installed venv). Kept getting the no jsonmerge error. I thought it was disk privilege issues but no dice. The most weird part was I open the project in pycharm, which I used as Git manager, and tried to run webui.py inside. It always says no JsonMerge even though I installed the package several times within Pycharm Just tried what @john-0u0 wrote I went to Appdata/local/pip/cache or something and looked into the cache folders until I find the jsonmerge cached file. Delete and used Pycharm to open the SD folder, reinstalling Jsonmerge seems to have done it (it's downloading SD1.5 and XL as I type, so passed the JSONMerge error part. Looks to be a corrupted package issue in my case. |
I got the same error when I reinstalled sd-webui. Just deleted the |
At the entry file I solved it like this.
|
I got same error today. Fresh (first-ever) install on Windows 11 using instructions at Install-and-Run-on-NVidia-GPUs, i.e. download After downloading some stuff it crashes with UPDATE: I also tried "method 2" there, i.e. global install of Python and git and then clone repository, but that doesn't work either and gives same error. |
ok, looks like I don't know why this happens, and note that this is with clean Windows 11 install in which Python has not been used at all before. Following fixes this for me (when using "method 2" i.e. with global Python and git): In Command Prompt go to the installation directory and then run following:
|
Is there an existing issue for this?
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
List of extensions
No
Console logs
Additional information
Really like the software, thanks!
The text was updated successfully, but these errors were encountered: