Pin pydantic to 2.4.1 in requirements (#1967)

pyinstaller-hooks-contrib doesn't see beta versions of pydantic as versions greater than 2.0.0, and so it looks for an attribute `compile` only available in versions older than 2.0.0 if you have a beta version of pydantic.
This commit is contained in:
Ean Garvey
2023-11-10 21:34:52 -06:00
committed by GitHub
parent 6285430d8a
commit c4a908c3ea

View File

@@ -42,6 +42,7 @@ joblib # for langchain
timm # for MiniGPT4
langchain
einops # for zoedepth
pydantic==2.4.1 # pin until pyinstaller-hooks-contrib works with beta versions
# Keep PyInstaller at the end. Sometimes Windows Defender flags it but most folks can continue even if it errors
pefile