You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using python 3.9 and I install anthropic==0.3.1 and when I am running:
from anthropic import AsyncAnthropic
I am getting:
Traceback (most recent call last):
File "", line 1, in
File "venv/lib/python3.9/site-packages/anthropic/init.py", line 3, in
from . import types
File "venv/lib/python3.9/site-packages/anthropic/types/init.py", line 5, in
from .completion import Completion as Completion
File "venv/lib/python3.9/site-packages/anthropic/types/completion.py", line 3, in
from .._models import BaseModel
File "venv/lib/python3.9/site-packages/anthropic/_models.py", line 11, in
from pydantic.fields import ModelField
ImportError: cannot import name 'ModelField' from 'pydantic.fields' (venv/lib/python3.9/site-packages/pydantic/fields.py)
The text was updated successfully, but these errors were encountered:
I am using python 3.9 and I install anthropic==0.3.1 and when I am running:
from anthropic import AsyncAnthropic
I am getting:
Traceback (most recent call last):
File "", line 1, in
File "venv/lib/python3.9/site-packages/anthropic/init.py", line 3, in
from . import types
File "venv/lib/python3.9/site-packages/anthropic/types/init.py", line 5, in
from .completion import Completion as Completion
File "venv/lib/python3.9/site-packages/anthropic/types/completion.py", line 3, in
from .._models import BaseModel
File "venv/lib/python3.9/site-packages/anthropic/_models.py", line 11, in
from pydantic.fields import ModelField
ImportError: cannot import name 'ModelField' from 'pydantic.fields' (venv/lib/python3.9/site-packages/pydantic/fields.py)
The text was updated successfully, but these errors were encountered: