0

I am attempting to install various python libraries on a very old ubuntu machine however keep running into the same error when using pip:

for example: $ pip install pygame

Gives the output:

Traceback (most recent call last):
  File "/home/syn/.local/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
  File "/home/syn/.local/lib/python3.5/site-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax

What am I doing wrong or how I can fix this?

syn_synth
  • 1
  • 1

0 Answers0