SyntaxError: invalid syntax
See original GitHub issueHi.
I get this error when running Sherlock:
python3 sherlock.py neilbreen -r --print-found
File "sherlock.py", line 78
Fore.GREEN + f"] {title}" +
^
SyntaxError: invalid syntax
This applies to Python2, Python3, with/without arguments and sudo
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (6 by maintainers)
Top Results From Across the Web
Invalid Syntax in Python: Common Reasons for SyntaxError
The interpreter will find any invalid syntax in Python during this first stage of program execution, also known as the parsing stage. If...
Read more >How to Fix Invalid SyntaxError in Python - Rollbar
The Python SyntaxError occurs when the interpreter encounters invalid syntax in code. When Python code is executed, the interpreter parses ...
Read more >python - Why do I get the syntax error "SyntaxError: invalid ...
When an error is reported on a line that appears correct, try removing (or commenting out) the line where the error appears to...
Read more >SyntaxError: invalid syntax - Python Morsels
Python's "invalid syntax" error message comes up often, especially when you're first learning Python. What usually causes this error and how can you...
Read more >SyntaxError in Python: How to Handle Invalid Syntax in Python
In this tutorial, I will teach you how to handle SyntaxError in Python, including numerous strategies for handling invalid syntax in Python.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Like the readme says, you have to have Python 3.6 or above.
This does keep happening. I wonder if it is possible to have an explicit check about the Python version, and give an error message that the user is using the wrong version? I see a StackOverflow description on how to do this.
This issue appears to be an environmental issue rather than a problem with Sherlock itself. It also has been hanging out for some time. So, I am closing it out now to remove the clutter.