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
The elevenlabs library version 1.12.1 works well. All newer library version are producing the following error when running import elevenlabs
Traceback (most recent call last):
File "", line 1, in
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/init.py", line 3, in
from .types import (
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/types/init.py", line 14, in
from .agent_config import AgentConfig
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/types/agent_config.py", line 5, in
from .array_json_schema_property import ArrayJsonSchemaProperty
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/types/array_json_schema_property.py", line 26, in
from .object_json_schema_property import ObjectJsonSchemaProperty # noqa: E402
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/types/object_json_schema_property.py", line 29, in
update_forward_refs(ObjectJsonSchemaProperty)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/site-packages/elevenlabs/core/pydantic_utilities.py", line 244, in update_forward_refs
model.update_forward_refs(**localns)
File "pydantic/main.py", line 814, in pydantic.main.BaseModel.update_forward_refs
File "pydantic/typing.py", line 554, in pydantic.typing.update_model_forward_refs
File "pydantic/typing.py", line 520, in pydantic.typing.update_field_forward_refs
File "pydantic/typing.py", line 66, in pydantic.typing.evaluate_forwardref
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 497, in _evaluate
self.forward_value = _eval_type(
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in _eval_type
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in _eval_type
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 254, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 497, in _evaluate
self.forward_value = _eval_type(
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in _eval_type
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 256, in
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 254, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "/local/home/username/anaconda3/envs/chatbot/lib/python3.9/typing.py", line 493, in _evaluate
eval(self.forward_code, globalns, localns),
File "", line 1, in
NameError: name 'ArrayJsonSchemaProperty' is not defined
Code example
Import elevenlabs
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description
The elevenlabs library version 1.12.1 works well. All newer library version are producing the following error when running
import elevenlabs
Code example
Import elevenlabs
Additional context
No response
The text was updated successfully, but these errors were encountered: