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 'vc_infer_pipeline' #11

Open
kaansen97 opened this issue Jan 13, 2024 · 8 comments
Open

ModuleNotFoundError: No module named 'vc_infer_pipeline' #11

kaansen97 opened this issue Jan 13, 2024 · 8 comments

Comments

@kaansen97
Copy link

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
Copy link

ModuleNotFoundError: No module named 'vc_infer_pipeline'
same prob

@SiddhantShah04
Copy link

Install it globally outside venv it will work just fine

@ZehWallace
Copy link

ZehWallace commented Jun 2, 2024

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
Copy link

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
Copy link

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
Copy link

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
Copy link

Nytro69 commented Aug 9, 2024

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

@Scarlet-Raine
Copy link

Install it globally outside venv it will work just fine

Technically, from what I have tested, both commands need to be ran globally and inside the virtual environment to get it to pick up.

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