snovvcrash / usbrip

Tracking history of USB events on GNU/Linux
https://habr.com/ru/post/352254/
GNU General Public License v3.0
1.15k stars 109 forks source link

Error in running from terminal #5

Closed urwithajit9 closed 5 years ago

urwithajit9 commented 5 years ago

Traceback (most recent call last): File "/home/ajit/.local/bin/usbrip", line 7, in from usbrip.main import main File "/home/ajit/.local/lib/python3.5/site-packages/usbrip/main.py", line 66 print(f'# Done as: usbrip {" ".join(sys.argv[1:])}') ^ SyntaxError: invalid syntax

snovvcrash commented 5 years ago

You are using an older version of Python interpreter (3.5). As it is stated in the Dependencies paragraph, you should be running python3.6 or newer to use usbrip. The error that you are facing with is related to f-strings that Python <3.6 cannot work with. Uninstall usbrip, upgrade your Python interpreter and install it again.