w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
15.34k stars 1.65k forks source link

[ISSUE]: Missing g++ requirement in README_dev_en.md and fairseq + pyworld in server/requirements.txt. #1085

Open Raaaawrh opened 5 months ago

Raaaawrh commented 5 months ago

Voice Changer Version

MMVCServerSIO v.1.5.3.17b

Operational System

Fedora 39

GPU

NVIDIA GeForce GTX 1050

Read carefully and check the options

Model Type

RVC

Issue Description

Tried to run with python3 MMVCServerSIO.py -p 18888 --https true --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json after installation according to README_dev_en.md and got error due to missing dependencies fairseq and pyworld.

Fixed with pip install fairseq==0.12.2 pyworld==0.3.4 .

Also, please include a requirement for the presence of a C++ compiler in the system to compile these libraries in README_dev_en.md. I used g++ (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6).

In the end, the server started, and the models are functioning.

Application Screenshot

No response

Logs on console

Missing libraries:

from fairseq import checkpoint_utils ModuleNotFoundError: No module named 'fairseq'

...

import pyworld ModuleNotFoundError: No module named 'pyworld'

Trying to pip install fairseq==0.12.2 without g++:

gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fairseq Failed to build fairseq ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects