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

pip install error, aria2 issue on Mac Sonoma (silicon)

Open
#2,381 3 comments 1 reaction 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

Has anyone seen this error? I can't find it mentioned anywhere!!

Building wheels for collected packages: aria2
  Building wheel for aria2 (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/myuser/miniconda3/envs/rvc/bin/python /Users/myuser/miniconda3/envs/rvc/lib/python3.10/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/tmpwsfm8m4h
       cwd: /private/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/pip-install-19xb4r5e/aria2_d580b6660b1e4523abeaf34feef311ac
  Complete output (19 lines):
  Traceback (most recent call last):
    File "/Users/myuser/miniconda3/envs/rvc/lib/python3.10/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
      main()
    File "/Users/myuser/miniconda3/envs/rvc/lib/python3.10/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/myuser/miniconda3/envs/rvc/lib/python3.10/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/private/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/pip-build-env-380vsm6m/overlay/lib/python3.10/site-packages/hatchling/build.py", line 58, in build_wheel
      return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
    File "/private/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/pip-build-env-380vsm6m/overlay/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 147, in build
      build_hook.initialize(version, build_data)
    File "/private/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/pip-install-19xb4r5e/aria2_d580b6660b1e4523abeaf34feef311ac/hatch_build.py", line 132, in initialize
      aria2_tag = get_tag_4_build()
    File "/private/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/T/pip-install-19xb4r5e/aria2_d580b6660b1e4523abeaf34feef311ac/hatch_build.py", line 110, in get_tag_4_build
      raise RuntimeError(msg)
  RuntimeError: Can't find tag for build.
  Please set 'WHL_PLATFORM' env var or run this building on supported platform.
      supported platform: manylinux_2_17_x86_64, musllinux_1_1_x86_64, manylinux_2_17_aarch64, musllinux_1_1_aarch64, win_amd64, win32

  ----------------------------------------
  ERROR: Failed building wheel for aria2
Failed to build aria2
ERROR: Could not build wheels for aria2 which use PEP 517 and cannot be installed directly

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 by reproducing the pip install failure on macOS Sonoma with Apple silicon and inspect the aria2 package's hatch_build.py hook, especially get_tag_4_build(). Determine whether the supported-platform list or WHL_PLATFORM handling needs a change; done means the package installs successfully on this platform or the limitation is explicitly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.