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

SyntaxError: invalid syntax #56

Closed
peaceorwell opened this issue Oct 12, 2020 · 3 comments
Closed

SyntaxError: invalid syntax #56

peaceorwell opened this issue Oct 12, 2020 · 3 comments

Comments

@peaceorwell
Copy link

Expected Behavior

work

Actual Behavior

not work

Steps to Reproduce the Problem

1.install kb
2.kb --version

Specifications

  • Version: 0.1.4
  • Platform: LInux
  • Subsystem: ubuntu16.04

File "/home/xx/env_python3/lib/python3.5/site-packages/kb_manager-0.1.4-py3.5.egg/kb/entities/artifact.py", line 20
id: Optional[int]
^
SyntaxError: invalid syntax

@xscode-auto-reply
Copy link

Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/gnebbia/kb

@alshapton
Copy link
Contributor

alshapton commented Oct 12, 2020

This line
File "/home/xx/env_python3/lib/python3.5/site-packages/kb_manager-0.1.4-py3.5.egg/kb/entities/artifact.py", line 20 id: Optional[int]
indicates that you have Python 3.5 installed. Note that kb requires at least Python 3.6 as stated in the README file.

Suggest that you upgrade your Python setup to 3.6 and revisit.

Thanks for trying kb and reporting this.

@alshapton
Copy link
Contributor

Incorrect version of Python installed - closing issue

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