Aditionally to the answer from @srk, you should uninstall package setuptools
:
python -m pip uninstall pip setuptools
If you want to uninstall all other packages first, this answer has some hints: https://stackoverflow.com/a/11250821/265954
Note: before you use the commands from that answer, please carefully read the comments about side effects and how to avoid uninstalling pip
and setuptools
too early. E.g. pip freeze | grep -v "^-e" | grep -v "^(setuptools|pip)" | xargs pip uninstall -y