Skip to content

ImportError: cannot import name 'AsyncAnthropicBedrock' from 'anthropic' #6687

Closed
@skeletonwarrior

Description

@skeletonwarrior

What happened?

[condition]
when i command below sentence.
"autogenstudio ui --appdir new"

[issue]
ImportError: cannot import name 'AsyncAnthropicBedrock' from 'anthropic'

I installed the latest version of autogenstudio and the anthropic library is also checked, so why is this happening?

[invironment]
ㅇMac OS Apple M2 Ventura 13.6
ㅇPython Version = 3.12.0
ㅇpip list

Package Version
aiofiles 24.1.0
alembic 1.16.2
annotated-types 0.7.0
anthropic 0.54.0
anyio 4.9.0
autogen-agentchat 0.5.7
autogen-core 0.5.7
autogen-ext 0.5.7
autogenstudio 0.4.2.2
azure-ai-agents 1.1.0b2
azure-ai-documentintelligence 1.0.2
azure-ai-inference 1.0.0b9
azure-ai-projects 1.0.0b11
azure-common 1.1.28
azure-core 1.34.0
azure-identity 1.23.0
azure-search-documents 11.5.2
azure-storage-blob 12.25.1
beautifulsoup4 4.13.4
certifi 2025.6.15
cffi 1.17.1
charset-normalizer 3.4.2
click 8.2.1
cobble 0.1.4
coloredlogs 15.0.1
cryptography 45.0.4
defusedxml 0.7.1
distro 1.9.0
dnspython 2.7.0
email_validator 2.2.0
et_xmlfile 2.0.0
fastapi 0.115.12
fastapi-cli 0.0.7
flatbuffers 25.2.10
greenlet 3.2.3
h11 0.16.0
html2text 2025.4.15
httpcore 1.0.9
httptools 0.6.4
httpx 0.28.1
humanfriendly 10.0
idna 3.10
importlib_metadata 8.7.0
isodate 0.7.2
Jinja2 3.1.6
jiter 0.10.0
jsonref 1.1.0
loguru 0.7.3
lxml 5.4.0
magika 0.6.2
Mako 1.3.10
mammoth 1.9.1
markdown-it-py 3.0.0
markdownify 1.1.0
markitdown 0.1.2
MarkupSafe 3.0.2
mdurl 0.1.2
mpmath 1.3.0
msal 1.32.3
msal-extensions 1.3.1
numpy 2.3.0
olefile 0.47
onnxruntime 1.22.0
openai 1.88.0
openpyxl 3.1.5
opentelemetry-api 1.34.1
packaging 25.0
pandas 2.3.0
pdfminer.six 20250506
pillow 11.2.1
pip 25.1.1
playwright 1.52.0
protobuf 5.29.5
psycopg 3.2.9
pycparser 2.22
pydantic 2.11.7
pydantic_core 2.33.2
pydantic-settings 2.9.1
pydub 0.25.1
pyee 13.0.0
Pygments 2.19.1
PyJWT 2.10.1
python-dateutil 2.9.0.post0
python-dotenv 1.1.0
python-multipart 0.0.20
python-pptx 1.0.2
pytz 2025.2
PyYAML 6.0.2
regex 2024.11.6
requests 2.32.4
rich 14.0.0
rich-toolkit 0.14.7
shellingham 1.5.4
six 1.17.0
sniffio 1.3.1
soupsieve 2.7
SpeechRecognition 3.14.3
SQLAlchemy 2.0.41
sqlmodel 0.0.24
starlette 0.46.2
sympy 1.14.0
tiktoken 0.9.0
tqdm 4.67.1
typer 0.16.0
typing_extensions 4.14.0
typing-inspection 0.4.1
tzdata 2025.2
urllib3 2.4.0
uvicorn 0.34.3
uvloop 0.21.0
watchfiles 1.1.0
websockets 15.0.1
xlrd 2.0.2
xlsxwriter 3.2.4
youtube-transcript-api 1.0.3
zipp 3.23.0

Which packages was the bug in?

AutoGen Studio (autogensudio)

AutoGen library version.

Python dev (main branch)

Other library version.

No response

Model used

No response

Model provider

None

Other model provider

No response

Python version

None

.NET version

None

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions