p1ngul1n0/blackbird

async def findUsername(username): SyntaxError: invalid syntax

Closed this issue · 2 comments

Hi,
Just got this issue:

└── # python blackbird.py -u testuser                                                                    1 ⨯
  File "blackbird.py", line 26
    async def findUsername(username):
            ^
SyntaxError: invalid syntax

During installation I've got only one error, maybe that is the problem:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
jackit 0.1.0 requires click==5.1, but you have click 8.1.3 which is incompatible.

Can you help solving the problem. Thanks

Found a solution here -> https://stackoverflow.com/questions/43948454/python-invalid-syntax-with-async-def

If you receive a SyntaxError, it means you're using an older version of Python...
First, install a later version of Python (3.8.x is preferred as of this message), and run python3.8...

Running python3.9 blackbird.py -u testuser solved my problem

Hi IvanGlinkin!

Thank you for your report, i will try to make more clear in README that is necessary Python3 to use the tool.