I am trying to uninstall pip using this command in macOS terminal:
pip uninstall pip
The error I am receiving is:
ImportError: cannot import name 'requests'
I have tried many other commands, some unrelated to uninstalling pip
such as:
pip --version
I have tried reinstalling the requests module with
pip install requests
All of them are result in the same error.
ImportError: cannot import name 'requests'
Update: I tried to restore pip to pip 9.0.3 using
pip install --upgrade pip==9.0.3
and I tried importing requests. Both resulted in the same error.