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

Build Error #6

Closed
snax44 opened this issue Mar 15, 2022 · 2 comments
Closed

Build Error #6

snax44 opened this issue Mar 15, 2022 · 2 comments

Comments

@snax44
Copy link

snax44 commented Mar 15, 2022

Hi !

First of all, thank you very much for this great tool !

I'm trying to build binary with self signed certs (made with your script).
Unfortunately the build doesn't work and python return an error I don't understand.

$python build.py server --server-cert server-cert.pem
Traceback (most recent call last):
  File "build.py", line 38, in <module>
    def server(args: argparse.Namespace) -> list[str]:
TypeError: 'type' object is not subscriptable

Hope this question is not to stupid.
Thanks in advance for your help.

@EONRaider
Copy link
Owner

Hey. This is not a build error. Type hinting subscriptions is a Python 3.9 feature. All you have to do is execute the build.py file with a 3.9+ interpreter.

@snax44
Copy link
Author

snax44 commented Mar 16, 2022

OK thank you for your help.

@snax44 snax44 closed this as completed Mar 16, 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