Open Hansxsourse opened 5 years ago
This is likely happening on Python 2.7, the repo assumes Python 3.6, should have mentioned this.
My python version is 3.6, both windows and Ubuntu can’t work, I will work on it tonight
@Hansxsourse my bad, this line https://github.com/lopuhin/kaggle-imet-2019/blob/f1ec0827149a8218430a6884acf49c27ba6fcb1f/build.sh#L4 needs to be changed to use python3.6 - for me it worked because python was pointing to python3.6
Thanks, it's my fault, my default python is 2.7, so run the bash will wrong
when I run the build.sh file
File "build.py", line 6 def encode_file(path: Path) -> str: ^ SyntaxError: invalid syntax