geaxgx / tello-openpose

MIT License
299 stars 87 forks source link

error #6

Open duncanmix opened 5 years ago

duncanmix commented 5 years ago

File "C:/Users/Ricardo/PycharmProjects/Tello/OPenpose.py", line 354 log.debug(f'special key {keyname0} pressed') ^ SyntaxError: invalid syntax this happens when I try to run tello_openpose.py

and also cannot find reference from multiprocessing import sharedctypes

if I remove the f prefix, Will the code still work?

geaxgx commented 5 years ago

f-strings appears in python 3.6. https://docs.python.org/3/reference/lexical_analysis.html#f-strings If you upgrade in 3.6 +, it should work.