Barahlush / vastai_client

This package provides a Python client for the Vast.ai GPU rent service, that allows to list, create, destroy GPU instances programmaticaly, using Python.
MIT License
4 stars 5 forks source link

Typererror #42

Open d4arkeer opened 8 months ago

d4arkeer commented 8 months ago

File "C:\Users\asus\Desktop\vast.py", line 1, in from vastai_client import VastClient File "C:\Users\asus\AppData\Local\Programs\Python\Python39\lib\site-packages\vastai_client__init__.py", line 1, in from .vast_client import VastClient File "C:\Users\asus\AppData\Local\Programs\Python\Python39\lib\site-packages\vastai_client\vast_client.py", line 15, in from vastai_client.models import Instance, Machine, QueryType File "C:\Users\asus\AppData\Local\Programs\Python\Python39\lib\site-packages\vastai_client\models.py", line 3, in QueryType = dict[str, bool | str | list[list[str]] | dict[str, str | bool]] TypeError: unsupported operand type(s) for |: 'type' and 'type'

What is causing this?How to fix it? iss