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

ModuleNotFoundError: No module named 'openvoice' #147

Open
grigio opened this issue Feb 27, 2024 · 8 comments
Open

ModuleNotFoundError: No module named 'openvoice' #147

grigio opened this issue Feb 27, 2024 · 8 comments

Comments

@grigio
Copy link

grigio commented Feb 27, 2024

I tried with your Colab but it also on native linux

import os
import torch
from openvoice import se_extractor
from openvoice.api import BaseSpeakerTTS, ToneColorConverter

ModuleNotFoundError                       Traceback (most recent call last)

[<ipython-input-1-de7f0ac64a9e>](https://localhost:8080/#) in <cell line: 3>()
      1 import os
      2 import torch
----> 3 from openvoice import se_extractor
      4 from openvoice.api import BaseSpeakerTTS, ToneColorConverter

ModuleNotFoundError: No module named 'openvoice'
@withoutbuff
Copy link

+1

@withoutbuff
Copy link

withoutbuff commented Mar 1, 2024

(openvoice) PS G:\open_voice\OpenVoice> python.exe .\openvoice\openvoice_app.py
Traceback (most recent call last):
File "G:\open_voice\OpenVoice\openvoice\openvoice_app.py", line 8, in
from openvoice.api import BaseSpeakerTTS, ToneColorConverter
File "C:\Users\anaconda3\envs\openvoice\lib\site-packages\openvoice\api.py", line 9, in
from openvoice.text import text_to_sequence
ModuleNotFoundError: No module named 'openvoice.text'

@withoutbuff
Copy link

I tried with your Colab but it also on native linux

import os
import torch
from openvoice import se_extractor
from openvoice.api import BaseSpeakerTTS, ToneColorConverter

ModuleNotFoundError                       Traceback (most recent call last)

[<ipython-input-1-de7f0ac64a9e>](https://localhost:8080/#) in <cell line: 3>()
      1 import os
      2 import torch
----> 3 from openvoice import se_extractor
      4 from openvoice.api import BaseSpeakerTTS, ToneColorConverter

ModuleNotFoundError: No module named 'openvoice'

git reset --hard 2c8a8e2

@jinxiaotuan
Copy link

+1

@ntanhfai
Copy link

(openvoice) PS G:\open_voice\OpenVoice> python.exe .\openvoice\openvoice_app.py Traceback (most recent call last): File "G:\open_voice\OpenVoice\openvoice\openvoice_app.py", line 8, in from openvoice.api import BaseSpeakerTTS, ToneColorConverter File "C:\Users\anaconda3\envs\openvoice\lib\site-packages\openvoice\api.py", line 9, in from openvoice.text import text_to_sequence ModuleNotFoundError: No module named 'openvoice.text'

+1

@mambari
Copy link

mambari commented Apr 28, 2024

You are just in the wrong folder to execute the code.
Move to OpenVoice
image

@ANK789
Copy link

ANK789 commented Apr 29, 2024

Move file openvoice_app.py to \OpenVoice Folder,then run it !

image

@ADD-eNavarro
Copy link

ADD-eNavarro commented May 6, 2024

I'm trying to run the demo_part1.py, and I'm getting the same message, even when I run it from the same folder where openvoice_app.py is.
I've created a "test.py" file to run directly on command line with the virtual environment active, but same error pops up.
Any clues?

Screenshot 2024-05-06 112823

Edit: Testing afterwards, if I use console I get the error, if I use Code + Jupyter (as by the Windows use guide) it works. Any way to run this on console?

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

7 participants