Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

[Bug]: ERROR: Failed building wheel for pyworld on Google Colab #317

Open
jiaxinf opened this issue Jul 18, 2023 · 3 comments
Open

[Bug]: ERROR: Failed building wheel for pyworld on Google Colab #317

jiaxinf opened this issue Jul 18, 2023 · 3 comments
Labels
bug? The issue author think this is a bug

Comments

@jiaxinf
Copy link

jiaxinf commented Jul 18, 2023

OS version

Google Colab

GPU

Tesla A100/V100/T4

Python version

3.10.12

PyTorch version

2.0.1+cu118

Branch of sovits

4.0(Default)

Dataset source (Used to judge the dataset quality)

UVR-processed streaming audio

Where thr problem occurs or what command you executed

%pip install pyworld praat-parselmouth fairseq tensorboardX torchcrepe librosa==0.9.1 pyyaml pynvml pyloudnorm faiss-gpu

Situation description

Basically in the second block on Google Colab where you 'Clone repository and install requirements',
image
pyworld cannot be installed properly and throws an error below. It was working 2 days ago, and as a temporary solution, I used pip install pyworld --no-build-isolation to install pyworld separately so I can continue training + inference. You may want to update the code on Google Colab and investigate what's causing the issue.

Log

Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->fairseq) (1.3.0)
Downloading tensorboardX-2.6.1-py2.py3-none-any.whl (101 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 kB 13.9 MB/s eta 0:00:00
Downloading torchcrepe-0.0.20-py3-none-any.whl (72.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.3/72.3 MB 9.3 MB/s eta 0:00:00
Downloading protobuf-4.23.4-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 304.5/304.5 kB 36.8 MB/s eta 0:00:00
Downloading bitarray-2.7.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (273 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.6/273.6 kB 35.2 MB/s eta 0:00:00
Building wheels for collected packages: pyworld, fairseq, antlr4-python3-runtime
  error: subprocess-exited-with-error
  
  × Building wheel for pyworld (pyproject.toml) 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.
  Building wheel for pyworld (pyproject.toml) ... error
  ERROR: Failed building wheel for pyworld
  Building wheel for fairseq (pyproject.toml) ... done
  Created wheel for fairseq: filename=fairseq-0.12.2-cp310-cp310-linux_x86_64.whl size=11298569 sha256=8a2fc33748be4932d580b0f91dabbb9c86372b39c2252a8a9f3f9e1c8e3ae992
  Stored in directory: /root/.cache/pip/wheels/e4/35/55/9c66f65ec7c83fd6fbc2b9502a0ac81b2448a1196159dacc32
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.8-py3-none-any.whl size=141210 sha256=ff5e48e1f4f02e1a29d2c2b0ffea69fd75531cdbf8e7c5409d4ed517a2fc33c0
  Stored in directory: /root/.cache/pip/wheels/a7/20/bd/e1477d664f22d99989fd28ee1a43d6633dddb5cb9e801350d5
Successfully built fairseq antlr4-python3-runtime
Failed to build pyworld
ERROR: Could not build wheels for pyworld, which is required to install pyproject.toml-based projects
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (2.0.1+cu118)

Supplementary description

No response

@jiaxinf jiaxinf added the bug? The issue author think this is a bug label Jul 18, 2023
@tanxz777
Copy link

Nice 谢谢

@tinkit2004
Copy link

tinkit2004 commented Jul 19, 2023

Replace the Colab code with the following:

#@title Clone repository and install requirements

#@markdown # Clone repository and install requirements

#@markdown

#@markdown ### After the execution is completed, the runtime will **automatically restart**

#@markdown

!git clone https://github.com/svc-develop-team/so-vits-svc -b 4.1-Stable
%pip uninstall -y torchdata torchtext
%pip install --upgrade pip setuptools numpy numba
%pip install praat-parselmouth fairseq tensorboardX torchcrepe librosa==0.9.1 pyyaml pynvml pyloudnorm faiss-gpu
%pip install pyworld --no-build-isolation
%pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
exit()

@LangeHeris
Copy link

可以安装旧版本。

pyworld==0.2.12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

4 participants