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

"from __future__ import annotations" error I am getting. #12

Closed
Epicjii opened this issue Jun 8, 2022 · 3 comments
Closed

"from __future__ import annotations" error I am getting. #12

Epicjii opened this issue Jun 8, 2022 · 3 comments

Comments

@Epicjii
Copy link

Epicjii commented Jun 8, 2022

"syntaxerror: future feature annotations is not defined" is the error I am getting

I am using Linux mint with python 3.6 installed as well

@Epicjii
Copy link
Author

Epicjii commented Jun 8, 2022

Taking a look online it seems that annotations are not supported in python3.6 and that support for them begins in 3.7

https://stackoverflow.com/questions/52889746/cant-import-annotations-from-future

@OwenCochell
Copy link
Owner

Thank you for pointing this out! The readme does say that you need at least Python 3.6, which is incorrect in this case. I'll bump that up to Python 3.7. If you have any other issues or questions please let me know.

@OwenCochell
Copy link
Owner

The lowest version has been updated in both the readme and the script. The script will now exit if you are attempting to run with a version of Python lower than 3.7. The version you want is 2.2.1. If this solves your problem them please feel free to close this issue.

Thanks!

@Epicjii Epicjii closed this as completed Jun 10, 2022
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

2 participants