JarodMica / rvc-tts-pipeline

TTS pipeline that uses RVC to enhance audio quality and cloning
MIT License
136 stars 29 forks source link

ModuleNotFoundError: No module named 'vc_infer_pipeline' #11

Open kaansen97 opened 8 months ago

kaansen97 commented 8 months ago

when i try to implement code i am having this error below : from vc_infer_pipeline import VC

output : 11 import logging 13 from multiprocessing import cpu_count ---> 14 from vc_infer_pipeline import VC 15 from lib.infer_pack.models import SynthesizerTrnMs256NSFsid, SynthesizerTrnMs256NSFsid_nono, SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono 16 from lib.audio import load_audio

ModuleNotFoundError: No module named 'vc_infer_pipeline'

and also in code VC never been used I don't understand

ihebhamdi commented 7 months ago

ModuleNotFoundError: No module named 'vc_infer_pipeline' same prob

SiddhantShah04 commented 4 months ago

Install it globally outside venv it will work just fine

ZehWallace commented 3 months ago

As I was about to give up on this package, I deleted the src files generated while installing it, which fixed the issue. Turns out I was importing the module from inside the src folder. So for anyone in a similar situation, try doing that I guess.

Eshan276 commented 2 months ago

As I was about to give up on this package, I deleted the src files generated while installing it. Turns out I was importing the module from inside the src folder. So for anyone in a similar situation, try doing that I guess.

which one did u install, in the readme there are two ways ?

ZehWallace commented 2 months ago

As I was about to give up on this package, I deleted the src files generated while installing it. Turns out I was importing the module from inside the src folder. So for anyone in a similar situation, try doing that I guess.

which one did u install, in the readme there are two ways ?

Correct me if I am wrong, but I thought it was a two step installation. The first installs the dependencies and the second, which is optional, installs the module itself (rather than importing directly from the file).

Eshan276 commented 2 months ago

As I was about to give up on this package, I deleted the src files generated while installing it. Turns out I was importing the module from inside the src folder. So for anyone in a similar situation, try doing that I guess.

which one did u install, in the readme there are two ways ?

Correct me if I am wrong, but I thought it was a two step installation. The first installs the dependencies and the second, which is optional, installs the module itself (rather than importing directly from the file).

do u use discord.. i think theres some thing wrong with the importing for me.. if u can help me

Nytro69 commented 1 month ago

the file exists on huggingface https://huggingface.co/datasets/AI-C/rvc-models/blob/main/vc_infer_pipeline.py you can just paste it and rvc_infer (in the github) in the same folder as your project