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

Invalid Syntax #9

Closed
fgunno opened this issue Nov 17, 2020 · 4 comments
Closed

Invalid Syntax #9

fgunno opened this issue Nov 17, 2020 · 4 comments

Comments

@fgunno
Copy link

fgunno commented Nov 17, 2020

I got these error when running the script:

python nb-dt-import.py
File "nb-dt-import.py", line 15
def update_package(path: str):
^
SyntaxError: invalid syntax

@ndom91
Copy link
Contributor

ndom91 commented Nov 18, 2020

Try running it with python3 instead of python so its like:

python3 nb-dt-import.py

I have a feeling your python is still symlinked to python2 (which you can double check by running which python).

@fgunno
Copy link
Author

fgunno commented Nov 18, 2020 via email

@ndom91
Copy link
Contributor

ndom91 commented Nov 18, 2020

@minitriga this can be closed

@minitriga
Copy link
Collaborator

@ndom91 Thank you.

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

3 participants