Djdefrag/QualityScaler

[Python 3.11.4] Package install works neither on Windows 11 nor on Ubuntu 22.04

srad opened this issue · 1 comments

srad commented

The packages form the source cannot be install neither on W11 nor on U22.04, at least with Python 3.11.x

The overall error is:

 ERROR: Could not find a version that satisfies the requirement torch-directml

On Ubuntu 22.04:

$ pip install torch-directml
ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none)
ERROR: No matching distribution found for torch-directml
python --version
Python 3.11.4

On Windows 11

PS C:\...\QualityScaler> pip install -r requirements.txt
DEPRECATION: Loading egg at c:\python311\lib\site-packages\mask_rcnn-2.1-py3.11.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation..
ERROR: Could not find a version that satisfies the requirement torch-directml==0.1.13.1.dev230301 (from versions: none)
ERROR: No matching distribution found for torch-directml==0.1.13.1.dev230301
 python --version
Python 3.11.3

Hi my friend,

torch-directml is only compatible with Windows 10 and 11, and there is still no support for Python 3.11, so you need to use 3.10.x :)