Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup #55

Open
WindowsNT opened this issue Nov 27, 2023 · 10 comments
Open

Setup #55

WindowsNT opened this issue Nov 27, 2023 · 10 comments

Comments

@WindowsNT
Copy link

WindowsNT commented Nov 27, 2023

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
@Djdefrag
Copy link
Owner

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

@WindowsNT
Copy link
Author

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.

@Djdefrag
Copy link
Owner

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

@WindowsNT
Copy link
Author

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?

@Djdefrag
Copy link
Owner

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

@WindowsNT
Copy link
Author

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.

@Djdefrag
Copy link
Owner

I think that python must be installed native

@WindowsNT
Copy link
Author

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.

@Djdefrag
Copy link
Owner

okk, let me know if it works :)

@MaximilianKr
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants