Closed ghost closed 1 year ago
同样的问题
Seems related to the latest PR #77, could you help to take a look at this issue? @ishaan-jaff
@iuiaoin taking a look
@Cyrus-Reed sorry about that, I made a fix PR for the same
@Cyrus-Reed can you try
in requirements.txt can you make
pydantic==2.1.1
and then retry
git pull
pip install -r requirements.txt
config.json
please let me know if it fixes the problem
@Cyrus-Reed sorry about that, I made a fix PR for the same
Thanks for the fix, the PR has been merged
@ishaan-jaff Thanks for your help. But when I used pip install -r requirements.txt, I got :
ERROR: Cannot install -r requirements.txt (line 10), litellm and pydantic==2.1.1 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested pydantic==2.1.1 litellm 0.1.356 depends on pydantic<3.0.0 and >=2.1.1 anthropic 0.3.8 depends on pydantic<2.0.0 and >=1.9.0 The user requested pydantic==2.1.1 litellm 0.1.356 depends on pydantic<3.0.0 and >=2.1.1 anthropic 0.3.7 depends on pydantic<2.0.0 and >=1.9.0
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
What happened?
@Cyrus-Reed I have bumped litellm
version to 0.1.365, please git pull and try again. This error should be mitigated.
Search for answers in existing issues
Python version
python 3.10
Issue description
更新到最新版后报错了,我先git pull,然后pip install -r requirements.txt,每次都是这样步骤更新的,但刚刚更新完再打开app.py就报错了。
Repro steps
Relevant log output
No response