facebookresearch / ELF

An End-To-End, Lightweight and Flexible Platform for Game Research
Other
2.09k stars 284 forks source link

Python 3.7: SyntaxError: invalid syntax due to the use of `async` which is a keyword #142

Open REASY opened 3 years ago

REASY commented 3 years ago

Followed https://github.com/facebookresearch/ELF#install-scripts and got Python 3.7.9 installed, where async is a keyword: https://www.python.org/dev/peps/pep-0492/#deprecation-plans

At least those places need a fix: https://github.com/facebookresearch/ELF/blob/1f790173095cd910976d9f651b80beb872ec5d12/elf/utils_elf.py#L191 https://github.com/facebookresearch/ELF/blob/1f790173095cd910976d9f651b80beb872ec5d12/elf/utils_elf.py#L197 image

Other references: