You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or worst case: from typing import List and change list[ to List[ (same for other cases)
Python 3.8 is the last version to work on Windows 7. Ideally you can support KivyMD. Please also fix the CI tests, since they indicate it will work on 3.7 and 3.8. Often in industrial or hobby setups, people (such as clients in my case) are stuck with a certain version of Windows. The same goes for people who cannot afford a new computer, including certain countries where I know people who say that is common. A program supporting an old OS maybe is avoidable since someone can choose a different program, but since KivyMD is a core component it is not interchangeable with something else.
Exception has occurred: TypeError
'type' object is not subscriptable
File "C:\Users\Owner\git\DepotPro\example-mdapp.py", line 3, in <module>
from kivymd.app import MDApp
TypeError: 'type' object is not subscriptable
Description of the Bug
The readme and tests indicate KivyMD will work on Python 3.7, but it will not due to typing, with not work on 3.7 nor 3.8.
The PyPI page also says it supports 3.7, but it will probably since it is the old version (works fine using Python 3.8 on Windows 7).
You may need (solutions from https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python):
or worst case:
from typing import List
and changelist[
toList[
(same for other cases)Python 3.8 is the last version to work on Windows 7. Ideally you can support KivyMD. Please also fix the CI tests, since they indicate it will work on 3.7 and 3.8. Often in industrial or hobby setups, people (such as clients in my case) are stuck with a certain version of Windows. The same goes for people who cannot afford a new computer, including certain countries where I know people who say that is common. A program supporting an old OS maybe is avoidable since someone can choose a different program, but since KivyMD is a core component it is not interchangeable with something else.
Code and Logs
result:
Versions
The text was updated successfully, but these errors were encountered: