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

Easily train a good VC model with voice data <= 10 mins!
MIT License
24.51k stars 3.61k forks source link

`requirements-dml.txt` is incompatible with any and all Python versions #1053

Open NatoBoram opened 1 year ago

NatoBoram commented 1 year ago

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.

NatoBoram commented 1 year ago

One workaround is to xargs each requirement into pip install.

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

Works with Python 3.10.13.

Edouard127 commented 3 months ago

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