-
Notifications
You must be signed in to change notification settings - Fork 548
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]: Cloned main, but webui can't complete installation: error pydantic #674
Comments
Quickly hacked it: In the
then at the very end of function, right before the --exit, I did this:
This allows it to get past the installation, and it starts to download the default neural network Edit: |
Had the same issue and the posted work-around fixed it. |
If you installed via the all-in-one package, run.bat will complete the install of Forge. However, trying to install via user-webui.bat always has this problem for some reason. Tried to git clone and not prowess enough with python to understand the launch_utils.py workaround, hope it will be fixed soon. |
|
I had this error and I can confirm that just adding |
It worked without any issue last month, but today this error happened when I tried to reinstall. Has been anything changed since last month? There is no change history though. |
from my perspective, this bug happened because the pydantic package was rewritten in V2 so that the "undefined" feature no longer exists. refer to the pydantic github page Pydantic V2 is a ground-up rewrite that offers many new features, performance improvements, and some breaking changes compared to Pydantic V1. If you're using Pydantic V1 you may want to look at the pydantic V1.10 Documentation or, 1.10.X-fixes git branch. Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects: .from pydantic import v1 as pydantic_v1 |
Nope, specifying just the version doesn't work for me: Only if I do my hacky workaround, then it works |
I wanted to build a new install dir but also got this issue, I'll post a pip freeze here of a working install, beware its not clean, has extensions dependencies amid the ones for webui hope it helps:
|
In addition to the issue stated above, another dependency conflict might occur when using the Problem:
Cause:
Solution 1: Upgrade
This upgrades Solution 2: Downgrade
This downgrades |
Checklist
What happened?
Initial launch fails every time, due to pydantic dependency error.
Steps to reproduce the problem
clone main
launch webui-user.bat
installation proceeds, but error is thrown before default neural net starts download.
Press Any key to continue...
What should have happened?
installation should complete + download default neural network
What browsers do you use to access the UI ?
Other
Sysinfo
Windows 10
Webui UI doesn't launch because the webui-user.bat can't complete install.
Was working fine few days ago, looks like pydantic did something recently.
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: