Traceback (most recent call last):
File "/usr/bin/pip3", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/pip/__init__.py", line 11, in main
from pip._internal.utils.entrypoints import _wrapper
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/utils/entrypoints.py", line 12
f"pip{sys.version_info.major}",
^
SyntaxError: invalid syntax
Sometimes this is caused by a mismatch in versions, perhaps your python3-pip came from a different PPA/source so it no longer matches your installed version.
Make sure that all tools come from the same source or if you need a new python version, that the entirety including all helper tools are compiled from the same source.
usr, lib, python, dist, packages, pip, _internal, utils, entrypoints, py, sys, version_info, syntaxerror, invalid, syntax, solutionis, traceback, quot, bin, module, __init__, import, _wrapper, mismatch, versions, ppa, installed, entirety, helper, compiled,