mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Unpin pydantic and numpy in pyproject.toml (#4062)
## What type of PR is this? (check all applicable) - [ X] Bug Fix ## Have you discussed this change with the InvokeAI team? - [ X] Yes - [ ] No, because: ## Have you updated all relevant documentation? - [ ] Yes - [X] Not needed ## Description Windows users have been getting a lot of OSErrors while installing 3.0.1 during the pip dependency installation phase. Generally the errors have involved just two packages, pydantic and numpy. Looking at the install logs, I see that both of these packages are first installed under one version number by a dependency, and then uninstalled and replaced by a slightly different version specified in invoke's `pyproject.toml`. I think this is the problem - maybe the earlier package is not completely closed before it is uninstalled and reinstalled. This PR relaxes pinning of numpy and pydantic in `pyproject.toml`. Everything seems to install and run properly. Hopefully it will address the windows install bug as well.
This commit is contained in:
commit
ca895a9cd0
@ -58,14 +58,14 @@ dependencies = [
|
||||
"invisible-watermark~=0.2.0", # needed to install SDXL base and refiner using their repo_ids
|
||||
"matplotlib", # needed for plotting of Penner easing functions
|
||||
"mediapipe", # needed for "mediapipeface" controlnet model
|
||||
"numpy",
|
||||
"npyscreen",
|
||||
"numpy==1.24.4",
|
||||
"omegaconf",
|
||||
"opencv-python",
|
||||
"pydantic==1.*",
|
||||
"picklescan",
|
||||
"pillow",
|
||||
"prompt-toolkit",
|
||||
"pydantic==1.10.10",
|
||||
"pympler~=1.0.1",
|
||||
"pypatchmatch",
|
||||
'pyperclip',
|
||||
@ -81,7 +81,7 @@ dependencies = [
|
||||
"test-tube~=0.7.5",
|
||||
"torch~=2.0.1",
|
||||
"torchvision~=0.15.2",
|
||||
"torchmetrics~=1.0.1",
|
||||
"torchmetrics~=0.11.0",
|
||||
"torchsde~=0.2.5",
|
||||
"transformers~=4.31.0",
|
||||
"uvicorn[standard]~=0.21.1",
|
||||
|
Loading…
Reference in New Issue
Block a user