File "/mnt/fileroot/yuhua.lin/p/.repo/repo/main.py", line 79
file=sys.stderr)
^
SyntaxError: invalid syntax
solve
This is because of the version of Python
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
Read More:
- [Python] error syntax error: summary of solutions to invalid syntax
- Error syntax error: invalid syntax in PIP install XXX
- Error in PIP command execution – syntax error: invalid syntax
- Solve the problem of syntax error: invalid syntax in PIP install XXX
- Syntax error: invalid syntax
- Syntax error: invalid syntax before Python string
- [shell] sh executes the script and reports an error syntax error: “(” unexpected “)
- Vue project reports an error on ie11 white screen. Script1002: syntax error
- Python: print syntax error: problem with invalid syntax error
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax
- Alicloud centos8 reports an error “error: failed to synchronize cache for repo ‘EPEL modular’”
- Invalid DN syntax (34)
- Syntax error: invalid character in identifier
- Solution to syntaxerror: invalid syntax in PIP install XXX
- Exception occurred when Django created app: from exc ^ syntaxerror: invalid syntax
- [Err] ERROR: invalid input syntax for integer: “1.0”
- PHP reports “parse error: syntax error, unexpected T”_ The solution of “variable”
- [!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.
- SH script reports error “Eval: Line 1: syntax error: terminated quoted string”
- Syntaxerror: invalid syntax when executing PIP install XXX