Replies: 1 comment
-
1、Use This may solve most module issues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When executing flask run --host 0.0.0.0 --port=5001 --debug in cmd, I encountered the following error:
File "E:\git\dify\api\core\model_runtime\model_providers\anthropic\llm\llm.py", line 18, in
from anthropic.types.beta.tools import ToolsBetaMessage
ModuleNotFoundError: No module named 'anthropic.types.beta.tools'
I checked the installed version of anthropic, which is 0.42.0, and confirmed that there is indeed no 'tools' in the 'types.beta' directory. I also reviewed other versions of anthropic, and none of them contain 'tools'. How should I resolve this issue?
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions