larsdpeder / ElevenlabsDubbingGradio

27 stars 2 forks source link

Import error #2

Closed evheniu closed 1 month ago

evheniu commented 1 month ago

What can be the reason for it ?

Python 3.12.0

line 6, in
from elevenlabs import ElevenLabs ImportError: cannot import name 'ElevenLabs' from 'elevenlabs'

pip freeze: aiofiles==23.2.1 altair==5.4.1 annotated-types==0.7.0 anyio==4.6.0 asttokens==2.4.1 attrs==24.2.0 certifi==2024.8.30 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 contourpy==1.3.0 cycler==0.12.1 decorator==4.4.2 elevenlabs==1.2.1 executing==2.1.0 fastapi==0.115.0 ffmpy==0.4.0 filelock==3.16.1 fonttools==4.54.1 fsspec==2024.9.0 gradio==3.41.2 gradio_client==0.5.0 h11==0.14.0 httpcore==1.0.6 httpx==0.27.2 huggingface-hub==0.25.1 idna==3.10 imageio==2.35.1 imageio-ffmpeg==0.5.1 importlib_resources==6.4.5 ipython==8.27.0 jedi==0.19.1 Jinja2==3.1.4 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 kiwisolver==1.4.7 MarkupSafe==2.1.5 matplotlib==3.9.2 matplotlib-inline==0.1.7 moviepy==1.0.3 narwhals==1.9.0 numpy==1.26.4 orjson==3.10.7 packaging==24.1 pandas==2.2.3 parso==0.8.4 pillow==10.4.0 proglog==0.1.10 prompt_toolkit==3.0.48 pure_eval==0.2.3 pydantic==2.9.2 pydantic_core==2.23.4 pydub==0.25.1 Pygments==2.18.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 python-dotenv==1.0.0 python-multipart==0.0.12 pytz==2024.2 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 rpds-py==0.20.0 semantic-version==2.10.0 setuptools==75.1.0 six==1.16.0 sniffio==1.3.1 stack-data==0.6.3 starlette==0.38.6 tqdm==4.66.5 traitlets==5.14.3 typing_extensions==4.12.2 tzdata==2024.2 urllib3==2.2.3 uvicorn==0.31.0 wcwidth==0.2.13 websockets==11.0.3

evheniu commented 1 month ago

from elevenlabs.client import ElevenLabs