tello-openpose icon indicating copy to clipboard operation
tello-openpose copied to clipboard

error

Open duncanmix opened this issue 5 years ago • 1 comments

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?

duncanmix avatar Sep 21 '19 02:09 duncanmix

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.

geaxgx avatar Sep 29 '19 11:09 geaxgx