Reputation: 43
Mac OS: when I try to run anything involving pip, I get
-bash: pip: command not found
This happened after I accidentally deleted the pip Unix file in usr/local/bin
while trying to solve a different problem with pip. At this point, I've pretty much given up on solving the problem manually.
Is there a way to just completely uninstall python and pip and start all over again?
Upvotes: 0
Views: 93
Reputation: 43
solution was surprisingly simple: deleted everything python related from my computer:
Python
App in Applications
Folderusr/local/bin
Python.framework
folder in Libraray/Frameworks
python
Then I reinstalled Python via the official python page. Pip seems to work now.
Upvotes: 0
Reputation: 2823
In recent python versions pip is as module rather than as individual script. Try:
python -m pip
Upvotes: 1