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

Error in Ubuntu 16.04: make generate #6

Open
YJonmo opened this issue May 14, 2018 · 2 comments
Open

Error in Ubuntu 16.04: make generate #6

YJonmo opened this issue May 14, 2018 · 2 comments

Comments

@YJonmo
Copy link

YJonmo commented May 14, 2018

Hi there,

I get this error:
$ make generate
python utils/data.py
File "utils/data.py", line 63
def get_boxes(df: pd.DataFrame) -> List[Box]:
^
SyntaxError: invalid syntax
Makefile:22: recipe for target 'generate' failed
make: *** [generate] Error 1

Thanks

@kkweon
Copy link
Owner

kkweon commented May 14, 2018

Python3 is required. Type annotation is not supported in python2.

Change to python3 instead of python.

Or you could use pyenv, which will link python to python3

@YJonmo
Copy link
Author

YJonmo commented May 14, 2018

sorry but it didn't work.

Did you use Mac to develop the codes?

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