-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
TypeError: 'type' object is not subscriptable #188
Comments
Nevermind, I got it done by myself by just removing Leaving this here, in case anyone gets this error. |
Hello, @NiceboyWiseboy. This error means that you use outdated python version. Please update python if it's possible. With python 3.9 this error should be gone. You can fix it by replacing So this: def a(param: list[int]) -> dict[str, str]: ... would become this: from typing import List, Dict
def a(param: List[int]) -> Dict[str, str]: ... |
Hello @s3rius and everyone,
I'm getting error even when I'm running help command. I'm using Python 3.8.10 and all the libraries as you mentioned in the process. Still I'm getting error. I'm attaching screenshot for better understanding. Thanks for the help in advance.
The text was updated successfully, but these errors were encountered: