Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

Google Colab Errors / Google Colab Not Working

Open CelesteHargreeves opened this issue 1 year ago • 2 comments

For the Google Colab I keep getting these messages:

Message 1:

WARNING: The following packages were previously imported in this runtime: [_distutils_hack,pkg_resources,setuptools] You must restart the runtime in order to use newly installed versions.

Restarting will lose all runtime state, including local variables.


Message 2:

Cloning into 'Retrieval-based-Voice-Conversion-WebUI'... warning: Could not find remote branch stable to clone. fatal: Remote branch stable not found in upstream origin [Errno 2] No such file or directory: '/content/Retrieval-based-Voice-Conversion-WebUI' /content


How do I fix this?

CelesteHargreeves avatar Jul 28 '24 23:07 CelesteHargreeves

after restarting the runtime i get another issue colab : https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/Retrieval_based_Voice_Conversion_WebUI.ipynb#scrollTo=wjddIFr1oS3W

Collecting numba==0.56.4
  Using cached numba-0.56.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.8 kB)
Collecting librosa==0.9.2
  Using cached librosa-0.9.2-py3-none-any.whl.metadata (8.2 kB)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from gradio==3.14.0) (3.9.5)
Requirement already satisfied: altair in /usr/local/lib/python3.10/dist-packages (from gradio==3.14.0) (4.2.2)
Collecting fastapi (from gradio==3.14.0)
  Using cached fastapi-0.111.1-py3-none-any.whl.metadata (26 kB)
Collecting ffmpy (from gradio==3.14.0)
  Using cached ffmpy-0.3.2.tar.gz (5.5 kB)
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

And finally

warning: Could not find remote branch stable to clone.
fatal: Remote branch stable not found in upstream origin
[Errno 2] No such file or directory: '/content/Retrieval-based-Voice-Conversion-WebUI'
/content 

I think the package fairseq is the issue . I tried it using other methods

!git clone https://github.com/pytorch/fairseq
os.chdir('/content/fairseq')
!pip install --editable ./

Output :

INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install fairseq and fairseq==0.12.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    fairseq 0.12.2 depends on omegaconf<2.1
    hydra-core 1.0.7 depends on omegaconf<2.1 and >=2.0.5

@fumiama please help

Niteshiya avatar Jul 29 '24 09:07 Niteshiya

This repo is created for dev purpose so sorry for not reaching any needs that user demanded because our limited stamina.

colab is not supported by us now. It is not under maintaining and it still use the code of the original RVC repo. Maybe we will write a new colab implementation later, but before that, please use the local machine.

fumiama avatar Jul 29 '24 16:07 fumiama