seemoo-lab / internalblue

Bluetooth experimentation framework for Broadcom and Cypress chips.
686 stars 85 forks source link

SyntaxError : invalid syntax #29

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi,

I have tried to run the command with python(python2).

~/internalblue$ sudo python -m internalblue.cli

I got the following error.

스크린샷 2020-07-06 오후 12 15 38

Could you please let me know what is the solution for this issue?

fmagin commented 4 years ago

The current internalblue version does not support Python 2 anymore, which reached its end of life on 2020.01.01.

If you have a specific reason that leaves you no other option but to run it with Python 2, you can use the python2 tag for now, which is the latest internalblue version still supporting Python 2. Otherwise, installing it the instructions in the setup.md should work. Note that if you are on a LTS release of ubuntu, pip might still be the python2 version, and the pip commands need to be replaced with pip3