Closed yudataguy closed 1 year ago
It works on my ubuntu 20.04, so probably macos centric issue
@yudataguy It's a typo! This should work for you
pip install magentic
Thanks for trying out the package!
@yudataguy It's a typo! This should work for you
pip install magentic
Thanks for trying out the package!
lol that's embarrassing. Here's another installation issue:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aws-sam-cli 1.37.0 requires regex==2021.9.30, but you have regex 2023.6.3 which is incompatible.
aws-sam-cli 1.37.0 requires requests==2.25.1, but you have requests 2.30.0 which is incompatible.
aws-sam-cli 1.37.0 requires typing-extensions==3.10.0.0, but you have typing-extensions 4.8.0 which is incompatible.
langchainplus-sdk 0.0.4 requires pydantic<2,>=1, but you have pydantic 2.4.1 which is incompatible.
langchain 0.0.193 requires pydantic<2,>=1, but you have pydantic 2.4.1 which is incompatible.
confection 0.0.4 requires pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4, but you have pydantic 2.4.1 which is incompatible.
thinc 8.1.10 requires pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4, but you have pydantic 2.4.1 which is incompatible.
spacy 3.5.3 requires pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4, but you have pydantic 2.4.1 which is incompatible.
is it possible to run magentic without langchain? I find langchain to be bloated, in the process of removing it entirely from my pipeline.
Yes, magentic only depends on pydantic and openai but it requires pydantic v2 while the version of langchain you have requires pydantic v1. If you can upgrade your version of langchain to >=0.0.267
then you should be able to use both together (with pydantic v2 installed) according to this comment https://github.com/langchain-ai/langchain/issues/6841#issuecomment-1682996914
You might need to also update some of the other packages mentioned in that error message for the same reason.
Any suggestion on how to folve this?