Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.10 required for install #208

Open
jowparks opened this issue Nov 4, 2024 · 3 comments
Open

python 3.10 required for install #208

jowparks opened this issue Nov 4, 2024 · 3 comments

Comments

@jowparks
Copy link

jowparks commented Nov 4, 2024

Was stuck in a loop of trying to resolve boto/botocore dependencies. Figured out it was because my virtualenv was 3.9, the install only works with 3.10. The repo should be updated.

https://academy.finxter.com/hugging-face-course-5-6-text-to-speech-with-melotts/

If you’re lucky the build may finish and the terminal will finish all [7/7] steps (skip ahead to Running the MeloTTS model). If you’re less lucky like me your process will get stuck trying to install the following dependency over and over in step [5/7]:

 => => # Downloading botocore-1.21.5-py3-none-any.whl (7.7 MB)
 => => #   ━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 21.8 MB/s eta 0:00:00
 => => # Collecting boto3<2.0,>=1.0
 => => # Downloading boto3-1.18.4-py3-none-any.whl (131 kB)
 => => #   ━━━━━━━━━━━━━━━━━━━━━ 131.6/131.6 kB 17.8 MB/s eta 0:00:00
@smlkdev
Copy link

smlkdev commented Nov 4, 2024

I had the same issue yesteday, finally installed some ready to use docker image from 3rd party. I tried to modify the setup script (eg. --no-deps) but I failed.

@jowparks
Copy link
Author

jowparks commented Nov 4, 2024

Both docker and local worked for me if I used python 3.10

@Ky-Ng
Copy link

Ky-Ng commented Nov 18, 2024

Thank you this helped! I had to add the following line to melo/app.py in order to get the docker container to work as well.

import nltk
nltk.download('averaged_perceptron_tagger_eng')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants