Код: Выделить всё
from anthropic import Anthropic
client = instructor.fromanthropic(Anthropic())
Код: Выделить всё
ERROR ImportError: cannot import name 'Anthropic' from 'anthropic' (/usr/local/lib/python3.10/dist-packages/anthropic/_init.py)
instructor==1.3.7
anthropic==0.2.8
Ссылка: https://python .useinstructor.com/#using-openai
установлен инструктор==1.3.7 антропный==0.2.8
Подробнее здесь: https://stackoverflow.com/questions/790 ... -anthropic
Мобильная версия