[GH-ISSUE #1053] requirements-dml.txt is incompatible with any and all Python versions #691

Closed
opened 2026-10-20 10:01:57 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @NatoBoram on GitHub (Aug 19, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1053

In Preparing the environment, it states this:

The following commands need to be executed in the environment of Python version 3.8 or higher.

However, if I try to install dependencies (pip install -r requirements-dml.txt) with 3.8.17, I get this error:

ERROR: Ignored the following versions that require a different python version: 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 3.8.0rc1 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml

This leads me to believe that it works on 3.9-3.12, but not on 3.8.

Now if I try the latest of this range (3.11.4), I get this error:

RuntimeError: Cannot install on Python version 3.11.4; only versions >=3.7,<3.11 are supported.

The range of possible versions was diminished to 3.9-3.10.

Now if I try the latest of this range (3.10.12), I get these errors:

DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml

If I try with the last version remaining (3.9.17), I get this:

ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9
ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml

So now it wants 3.7-3.8. But we already determined that 3.9-3.12 was required earlier.

In short, it's physically impossible to install dependencies on any and all versions of Python currently in existence.

Originally created by @NatoBoram on GitHub (Aug 19, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1053 In [Preparing the environment](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/README.en.md#preparing-the-environment), it states this: > The following commands need to be executed in the environment of Python version 3.8 or higher. However, if I try to install dependencies (`pip install -r requirements-dml.txt`) with `3.8.17`, I get this error: > ERROR: Ignored the following versions that require a different python version: 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 3.8.0rc1 Requires-Python >=3.9 > ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none) > ERROR: No matching distribution found for onnxruntime-directml This leads me to believe that it works on 3.9-3.12, but not on 3.8. Now if I try the latest of this range (3.11.4), I get this error: > RuntimeError: Cannot install on Python version 3.11.4; only versions >=3.7,<3.11 are supported. The range of possible versions was diminished to 3.9-3.10. Now if I try the latest of this range (3.10.12), I get these errors: > DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 > ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none) > ERROR: No matching distribution found for onnxruntime-directml If I try with the last version remaining (3.9.17), I get this: > ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9 > ERROR: Could not find a version that satisfies the requirement onnxruntime-directml (from versions: none) > ERROR: No matching distribution found for onnxruntime-directml So now it wants 3.7-3.8. But we already determined that 3.9-3.12 was required earlier. In short, it's physically impossible to install dependencies on any and all versions of Python currently in existence.
bsakaguchi 2026-10-20 10:01:57 +00:00
Author
Owner

@NatoBoram commented on GitHub (Aug 28, 2023):

One workaround is to xargs each requirement into pip install.

cat requirements-dml.txt | xargs -I _ pip install _

Works with Python 3.10.13.

<!-- gh-comment-id:1695888457 --> @NatoBoram commented on GitHub (Aug 28, 2023): One workaround is to `xargs` each requirement into `pip install`. ```sh cat requirements-dml.txt | xargs -I _ pip install _ ``` Works with Python 3.10.13.
Author
Owner

@emyfops commented on GitHub (Jul 31, 2024):

For windows users, you can achieve a similar result with powershell using
Get-Content requirements-dml.txt | ForEach-Object { pip install $_ }

<!-- gh-comment-id:2260629092 --> @emyfops commented on GitHub (Jul 31, 2024): For windows users, you can achieve a similar result with powershell using ```Get-Content requirements-dml.txt | ForEach-Object { pip install $_ }```
Author
Owner

@RVC-Boss commented on GitHub (Jul 20, 2026):

You can update the code to the latest main branch, where this install issue has already been resolved.

<!-- gh-comment-id:5022955594 --> @RVC-Boss commented on GitHub (Jul 20, 2026): You can update the code to the latest `main` branch, where this install issue has already been resolved.
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#691
No description provided.