[Solved] sys.stderr.write(f“ERROR: {exc}“) ^ SyntaxError: invalid syntax

Reference link: (19 messages) two reasons and solutions for syntaxerror: invalid syntax in PIP instruction,

The relevant solutions in the original text are as follows:

However, the get-pip.py file was not found in the process of trying to solve it. Access the index of /.

https://bootstrap.pypa.io/ Observe that the relevant version of get-pip.py file is found in PIP

To sum up, the command to get-pip.py should be

wget https://bootstrap.pypa.io/pip/3.5/get-pip.py

After downloading, execute the following command
python3 get-pip.py

Read More: