Open Daigtas opened 1 year ago
i am trying to run local server with python2.7 and getting this error. File "cloudpets_server.py", line 64 def download_audio(filename: str): SyntaxError: invalid syntax And it is pointing to the filename: str
File "cloudpets_server.py", line 64
def download_audio(filename: str):
SyntaxError: invalid syntax
filename: str
This project is not compatible with Python 2.7. The ": str" is a type annotation, first added in python 3.5 (released 2015).
i am trying to run local server with python2.7 and getting this error.
File "cloudpets_server.py", line 64
def download_audio(filename: str):
SyntaxError: invalid syntax
And it is pointing to thefilename: str