I am trying to install packages with pip but every time I run a command this error pops up, I have tried repairing Python but still can not get it to work. I'm new to coding python so I'm not really sure what to do here. Thanks.
Traceback (most recent call last):
File "C:\Users\sachl\.windows-build-tools\python27\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Users\sachl\.windows-build-tools\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Users\sachl\.windows-build-tools\python27\lib\site-packages\pip\__main__.py", line 21, in <module>
from pip._internal.cli.main import main as _main
File "C:\Users\sachl\.windows-build-tools\python27\lib\site-packages\pip\_internal\cli\main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax