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

求助,Macbook air M2 运行sh run.sh到其中运行python3.8 infer-web.py --pycmd python3.8时报错

Open
#2,709 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

Traceback (most recent call last):
File "infer-web.py", line 8, in
from infer.modules.vc.modules import VC
File "/Users/xulvxin/Desktop/Code/Retrieval-based-Voice-Conversion-WebUI/infer/modules/vc/modules.py", line 7, in
import soundfile as sf
File "/Users/xulvxin/Desktop/Code/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/soundfile.py", line 17, in
from _soundfile import ffi as _ffi
File "/Users/xulvxin/Desktop/Code/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/_soundfile.py", line 2, in
import _cffi_backend
ImportError: dlopen(/Users/xulvxin/Desktop/Code/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so, 0x0002): Library not loaded: @rpath/libffi.8.dylib
Referenced from: <39DB5531-3455-3DBF-AC49-F7681C270B23> /Users/xulvxin/Desktop/Code/Retrieval-based-Voice-Conversion-WebUI/.venv/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so
Reason: no LC_RPATH's found

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 infer-web.py, then trace the import path through infer/modules/vc/modules.py to the soundfile and _cffi_backend failure shown in the traceback. Reproduce the command on the reported Mac setup and determine whether the project starts without the libffi.8.dylib ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.