Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

Unable to install due to the use of an outdated dependency somewhere.

Open Ruchian opened this issue 4 months ago • 0 comments

The building (with wheel) of a dependency fails on modern python. Related to #2644

I attempted to use both pip and poetry, it won't work. Here's the poetry log.

C:\RVC1006AMD_Intel1>C:\Users\me\AppData\Roaming\Python\Scripts\poetry install
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Installing dependencies from lock file

Package operations: 132 installs, 0 updates, 0 removals

  - Installing attrs (23.1.0)
  - Installing idna (3.4)
  - Installing rpds-py (0.9.2): Failed

PEP517 build of a dependency failed

Backend subprocess exited when trying to invoke build_wheel

    | Command '['C:\\Users\\me\\AppData\\Local\\Temp\\tmp2oejq66x\\.venv\\Scripts\\python.exe', 'C:\\Users\\me\\AppData\\Roaming\\pypoetry\\venv\\Lib\\site-packages\\pyproject_hooks\\_in_process\\_in_process.py', 'build_wheel', 'C:\\Users\\me\\AppData\\Local\\Temp\\tmpwma6fhx0']' returned non-zero exit status 1.
    |
    | Running `maturin pep517 build-wheel -i C:\Users\me\AppData\Local\Temp\tmp2oejq66x\.venv\Scripts\python.exe --compatibility off`
    | Python reports SOABI: cp313-win_amd64
    | Computed rustc target triple: x86_64-pc-windows-msvc
    | Installation directory: C:\Users\me\AppData\Local\puccinialin\puccinialin\Cache
    | Downloading rustup-init from https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
    | Rust not found, installing into a temporary directory
Downloading rustup-init: 100%|██████████| 13.6M/13.6M [00:00<00:00, 30.2MB/s]
    | Installing rust to C:\Users\me\AppData\Local\puccinialin\puccinialin\Cache\rustup
    | info: profile set to 'minimal'
    | info: default host triple is x86_64-pc-windows-msvc
    | info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
    | info: latest update on 2025-08-07, rust version 1.89.0 (29483883e 2025-08-04)
    | info: downloading component 'cargo'
    | info: downloading component 'rust-std'
    | info: downloading component 'rustc'
    | info: installing component 'cargo'
    | info: installing component 'rust-std'
    | info: installing component 'rustc'
    | info: default toolchain set to 'stable-x86_64-pc-windows-msvc'
    | Checking if cargo is installed
    | Traceback (most recent call last):
    |   File "C:\Users\me\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
    |     main()
    |     ~~~~^^
    |   File "C:\Users\me\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 373, in main
    |     json_out["return_val"] = hook(**hook_input["kwargs"])
    |                              ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "C:\Users\me\AppData\Roaming\pypoetry\venv\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 280, in build_wheel
    |     return _build_backend().build_wheel(
    |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    |         wheel_directory, config_settings, metadata_directory
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     )
    |     ^
    |   File "C:\Users\me\AppData\Local\Temp\tmp2oejq66x\.venv\Lib\site-packages\maturin\__init__.py", line 133, in build_wheel
    |     return _build_wheel(wheel_directory, config_settings, metadata_directory)
    |   File "C:\Users\me\AppData\Local\Temp\tmp2oejq66x\.venv\Lib\site-packages\maturin\__init__.py", line 114, in _build_wheel
    |     result = subprocess.run(command, stdout=subprocess.PIPE, env=_get_env())
    |                                                                  ~~~~~~~~^^
    |   File "C:\Users\me\AppData\Local\Temp\tmp2oejq66x\.venv\Lib\site-packages\maturin\__init__.py", line 76, in _get_env
    |     extra_env = setup_rust()
    |   File "C:\Users\me\AppData\Local\Temp\tmp2oejq66x\.venv\Lib\site-packages\puccinialin\_setup_rust.py", line 134, in setup_rust
    |     check_call(["cargo", "--version"], env={**os.environ, **extra_env})
    |     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "C:\Program Files\Python313\Lib\subprocess.py", line 414, in check_call
    |     retcode = call(*popenargs, **kwargs)
    |   File "C:\Program Files\Python313\Lib\subprocess.py", line 395, in call
    |     with Popen(*popenargs, **kwargs) as p:
    |          ~~~~~^^^^^^^^^^^^^^^^^^^^^^
    |   File "C:\Program Files\Python313\Lib\subprocess.py", line 1039, in __init__
    |     self._execute_child(args, executable, preexec_fn, close_fds,
    |     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |                         pass_fds, cwd, env,
    |                         ^^^^^^^^^^^^^^^^^^^
    |     ...<5 lines>...
    |                         gid, gids, uid, umask,
    |                         ^^^^^^^^^^^^^^^^^^^^^^
    |                         start_new_session, process_group)
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "C:\Program Files\Python313\Lib\subprocess.py", line 1554, in _execute_child
    |     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    |                        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    |                              # no special security
    |                              ^^^^^^^^^^^^^^^^^^^^^
    |     ...<4 lines>...
    |                              cwd,
    |                              ^^^^
    |                              startupinfo)
    |                              ^^^^^^^^^^^^
    | FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden

Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with rpds-py (0.9.2)

  - not supporting PEP 517 builds
  - not specifying PEP 517 build requirements correctly
  - the build requirements are incompatible with your operating system or Python version
  - the build requirements are missing system dependencies (eg: compilers, libraries, headers).

You can verify this by running pip wheel --no-cache-dir --use-pep517 "rpds-py (==0.9.2)".

  - Installing sniffio (1.3.0)

The pip log says: RuntimeError: Cannot install on Python version 3.13.5; only versions >=3.7,<3.11 are supported.

I am not sure what uses maturin and is trying to build something in rust, but I do know this dependency is related to Rust https://docs.rs/rpds/latest/rpds/

You can find the package here: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/7ef19867780cf703841ebafb565a4e47d1ea86ff/poetry.lock#L3469

Please update the dependencies or something, or update the readme file to instruct people to download a specific python version.

Ruchian avatar Aug 14 '25 17:08 Ruchian