QualityScaler icon indicating copy to clipboard operation
QualityScaler copied to clipboard

Setup

Open WindowsNT opened this issue 1 year ago • 10 comments

It would help if this could be installed via pip. I'm still trying to install the dependencies and I eventually get

Traceback (most recent call last):
  File "QualityScaler.py", line 617, in <module>
    ) -> list[numpy_ndarray]:
TypeError: 'type' object is not subscriptable

WindowsNT avatar Nov 27 '23 20:11 WindowsNT

Hi my friend,

you have to install dependencies written in requirements.txt.

You can do it automatically with:

pip install -r path_to_the_file/requirements.txt

Make sure you have python <= 3.10.x because currently python 3.11.x is not supported by some dependencies

Djdefrag avatar Nov 28 '23 07:11 Djdefrag

Thanks for your help, still.

Traceback (most recent call last):
  File "QualityScaler\QualityScaler.py", line 617, in <module>
    ) -> list[numpy_ndarray]:
TypeError: 'type' object is not subscriptable

when trying with Python 3.8.

WindowsNT avatar Nov 28 '23 08:11 WindowsNT

Mmh try to use Python 3.10.x, never tested on previous Python version

Djdefrag avatar Nov 28 '23 08:11 Djdefrag

With 3.10.11 I get

F:\python>scripts\pip install -r qualityscaler\requirements.txt ERROR: Could not find a version that satisfies the requirement torch-directml==0.1.13.1.dev230413 (from versions: none) ERROR: No matching distribution found for torch-directml==0.1.13.1.dev230413

What's the exact version you are using?

WindowsNT avatar Nov 28 '23 09:11 WindowsNT

This is the exact version i am using, are you sure you are in python 3.10 context? Have you unistalled 3.8?

Djdefrag avatar Nov 28 '23 09:11 Djdefrag

Yes. F:\python>python -V Python 3.10.11 But I'm using a portable Python install, perhaps you have something I don't have.

WindowsNT avatar Nov 28 '23 09:11 WindowsNT

I think that python must be installed native

Djdefrag avatar Nov 28 '23 09:11 Djdefrag

Okay I will see what I can do, my goal is to include QualityScaler in my video sequencer in which all Python-based modules are separately downloaded and installed for the user's convenience.

WindowsNT avatar Nov 28 '23 09:11 WindowsNT

okk, let me know if it works :)

Djdefrag avatar Nov 28 '23 09:11 Djdefrag

Ran into the same problem. I used conda to solve it and it only worked on Python 3.10.

cd QualityScaler
conda create -n qualityscaler python=3.10 pip
conda activate qualityscaler
pip install -r requirements.txt

MaximilianKr avatar Dec 16 '23 22:12 MaximilianKr