[GH-ISSUE #1835] Maturin failed during install. Cannot install. #1229

Closed
opened 2026-10-20 10:07:10 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Kayrah87 on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1835

Installing on Windows 11 64-bit as admin user in Windows terminal, following instructions in /docs/en/README
Python Version: 3.12 with PIP 24.0

I get to the poetry install command and it crashes with the following:

  • Installing rpds-py (0.9.2): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  Running `maturin pep517 build-wheel -i C:\Users\Kay\AppData\Local\Temp\tmpdc1ky66f\.venv\Scripts\python.exe --compatibility off`
  💥 maturin failed
    Caused by: Cargo metadata failed. Do you have cargo in your PATH?
    Caused by: program not found
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\Kay\\AppData\\Local\\Temp\\tmpdc1ky66f\\.venv\\Scripts\\python.exe', '--compatibility', 'off'] returned non-zero exit status 1


  at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\poetry\installation\chef.py:164 in _prepare

I have tried in Powershell and CMD but both result in the same issue, which I cannot get past.

Originally created by @Kayrah87 on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1835 Installing on Windows 11 64-bit as admin user in Windows terminal, following instructions in /docs/en/README Python Version: 3.12 with PIP 24.0 I get to the `poetry install` command and it crashes with the following: ``` • Installing rpds-py (0.9.2): Failed ChefBuildError Backend subprocess exited when trying to invoke build_wheel Running `maturin pep517 build-wheel -i C:\Users\Kay\AppData\Local\Temp\tmpdc1ky66f\.venv\Scripts\python.exe --compatibility off` 💥 maturin failed Caused by: Cargo metadata failed. Do you have cargo in your PATH? Caused by: program not found Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\Kay\\AppData\\Local\\Temp\\tmpdc1ky66f\\.venv\\Scripts\\python.exe', '--compatibility', 'off'] returned non-zero exit status 1 at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\poetry\installation\chef.py:164 in _prepare ``` I have tried in Powershell and CMD but both result in the same issue, which I cannot get past.
Author
Owner

@Kayrah87 commented on GitHub (Feb 22, 2024):

For anyone who comes here in the future, note that the dependencies run only between python >=3.7 and <3.11
Downgrading to 3.10.3 was what got it working again.

<!-- gh-comment-id:1959955119 --> @Kayrah87 commented on GitHub (Feb 22, 2024): For anyone who comes here in the future, note that the dependencies run only between python >=3.7 and <3.11 Downgrading to 3.10.3 was what got it working again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1229
No description provided.