gitmylo / audio-webui

A webui for different audio related Neural Networks
MIT License
1.03k stars 99 forks source link

[BUG REPORT] Failed to install pyworld. #191

Open luthis1124 opened 9 months ago

luthis1124 commented 9 months ago

Failed to install pyworld. Check AutoDebug output.

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█░▄▄▀██░██░█▄▄░▄▄██░▄▄▄░██░▄▄▀██░▄▄▄██░▄▄▀██░██░██░▄▄░██
█░▀▀░██░██░███░████░███░██░██░██░▄▄▄██░▄▄▀██░██░██░█▀▀██
█░██░██▄▀▀▄███░████░▀▀▀░██░▀▀░██░▀▀▀██░▀▀░██▄▀▀▄██░▀▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Install failed! STDOUT: Collecting pyworld>=0.3.2 Downloading pyworld-0.3.4.tar.gz (251 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.0/252.0 kB 2.4 MB/s eta 0:00:00 Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error'

STDERR: error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] running dist_info creating /tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info writing /tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.pxd' under directory 'pyworld' adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-eu9zgw9p/pyworld.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-eu9zgw9p/pyworld-0.3.4.dist-info' error: invalid command 'bdist_wheel' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. 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.

[notice] A new release of pip is available: 23.0.1 -> 23.3.1 [notice] To update, run: pip install --upgrade pip

Please read the error above carefully. If you are unsure, please create an issue at https://github.com/gitmylo/audio-webui/issues. When creating an issue, please include your full autodebug message. Exit code: 1

gitmylo commented 9 months ago

I should probably add this to the common issues since I see more people having this issue.

run pip install wheel inside of the venv (you can run source venv/bin/activate to activate the venv on linux, assuming you are on linux based on the file paths)

luthis1124 commented 9 months ago
  error: invalid command 'bdist_wheel'

Does pyworld need to be hardcoded to 0.3.2 in requirements?

Passed this error by using: pip install pyworld==0.3.2

and then . run.sh again

michaelachrisco commented 8 months ago

I should probably add this to the common issues since I see more people having this issue.

run pip install wheel inside of the venv (you can run source venv/bin/activate to activate the venv on linux, assuming you are on linux based on the file paths)

This worked, thanks!

source venv/bin/activate
pip install wheel
run.sh

and it worked on PopOS without any real issues.

everypizza1 commented 8 months ago

Would it be possible to make wheel a requirement? I couldn't find requirements.txt to add it myself.

gitmylo commented 7 months ago

Would it be possible to make wheel a requirement? I couldn't find requirements.txt to add it myself.

Not a bad idea, I'll add it. I don't think there would be new issues from that.