RVC-Project/Retrieval-based-Voice-Conversion-WebUI

Mac m2 Max error

InochiPM opened this issue · 5 comments

I'm trying ot get back into this again to train my RVC voices and use them on my Mac Studio, But every time i try to launch the WEBgui or the local version it doesnt seem to work at all.
i get this error

Traceback (most recent call last):
  File "infer-web.py", line 27, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'

But i clearly have it installed.
I also get this error which is specified a version of Python needed but i tried to swap back to 3.12 and it still threw this error .

ERROR: Package 'ffmpy' requires a different Python: 3.8.0 not in '>=3.8.1,<4.0.0'

When i try to "pip install ffmpy" it says its already satisfied.
Also i have Python 3.8 & Python 3.12 installed and i have it currently set to 3.8 is that the reason it wont work? and what version of python do i need?

What am i doing wrong here guys?

do you install your environment by conda or virtualenv?
have you activated your environment?

do you install your environment by conda or virtualenv? have you activated your environment?

Conda actually. its now giving me this error instead.

    from infer.modules.vc.modules import VC
  File "/RVC_Projects/RVC/infer/modules/vc/modules.py", line 18, in <module>
    from infer.modules.vc.pipeline import Pipeline
  File "/RVC_Projects/RVC/infer/modules/vc/pipeline.py", line 11, in <module>
    import faiss
ModuleNotFoundError: No module named 'faiss'```

do you install your environment by conda or virtualenv? have you activated your environment?

image
ITs doing this regardless of what i do now.

do you install your environment by conda or virtualenv? have you activated your environment?

image ITs doing this regardless of what i do now.

you haven't activated your environment.
please use conda env list to find your environments.
use conda activate your_environment to activate your environment.
If you haven't installed requirements, install them from the following lines.

conda create -n env python=3.10
conda activate env
pip install -r requirements.txt
pip uninstall numba faiss-cpu 
conda install conda-forge::numba pytorch::faiss-cpu
python ./infer-web.py
Screenshot 2024-11-04 at 10 01 52 AM now its throwing this error, i did what you said and it's still being weird.