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

can't run "run.sh" on mac

Open
#2,401 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

i have installed python 3.9.16 and i am using the (2.2.231006 ) version for AMD/Intel GPU. when I use terminal to run the run.sh, it started to tell me that certain modules are not installed so I started installing those modules one by one using pip and now it's telling me that "ModuleNotFoundError: No module named 'pyworld'" and when I try installing it usingpip install pyworld it gives me this error:

Building wheel for pyworld (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyworld (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-15.0-arm64-cpython-39/pyworld
copying pyworld/init.py -> build/lib.macosx-15.0-arm64-cpython-39/pyworld
running build_ext
/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-install-moyd4f86/pyworld_ccc5fc705bb1465492eea272ff641a97/pyworld/pyworld.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling pyworld/pyworld.pyx because it changed.
[1/1] Cythonizing pyworld/pyworld.pyx
building 'pyworld.pyworld' extension
creating build/temp.macosx-15.0-arm64-cpython-39/lib/World/src
creating build/temp.macosx-15.0-arm64-cpython-39/pyworld
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/cheaptrick.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/cheaptrick.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/codec.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/codec.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/common.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/common.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/d4c.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/d4c.o
lib/World/src/d4c.cpp:11:10: fatal error: 'algorithm' file not found
11 | #include // for std::sort()
| ^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang++' 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 pyworld
Failed to build pyworld
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyworld)

what should I do?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with run.sh and the project's installation instructions, then reproduce the dependency setup using Python 3.9.16 on macOS. Investigate the reported pyworld build failure and missing C++ algorithm header; done means run.sh completes its setup without the missing-module or wheel-build error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python, shell
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.