I use python3.5 on Ubuntu 16.04 and after upgrading pip3, i am getting the following error:

```
**Traceback (most recent call last):
  File "/usr/bin/pip3", line 11, in <module>
    sys.exit(main())

  File "/home/xxx/.local/lib/python3.5/site-packages/pip/__init__.py", line 16, in main
    from pip._internal.utils.entrypoints import _wrapper

  File "/home/xxx/.local/lib/python3.5/site-packages/pip/_internal/utils/entrypoints.py", line 3, in <module>
    from pip._internal.cli.main import main

  File "/home/xxx/.local/lib/python3.5/site-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")**
                                   ^  

```

Looks like pip is broken and i don't know how to resolve this.
I have tried uninstalling and installing pip3. but it still gave me the same error.
Can anyone please help ?