OpenVoice
OpenVoice copied to clipboard
ModuleNotFoundError: No module named 'openvoice'
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'
+1
(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
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, ToneColorConverterModuleNotFoundError 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 2c8a8e269a8f88c9970a254df70050cacfee0d3f
+1
(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
You are just in the wrong folder to execute the code.
Move to OpenVoice
Move file openvoice_app.py to \OpenVoice Folder,then run it !
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?
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?