pip: bad interpreter: /../ no such file or directory
Question:
I can’t use pip I get an error
pip: bad interpreter: /Applications/Xcode.app/Contents/Developer/usr/bin/python3: no such file or directory
I try:
brew link --overwrite python
python3 -m pip install whatever
brew install python
brew postinstall python
but nothing works.
Answers:
somehow python3 cmd is messed up in system by you. you need to reset it.
just run the command
set python3=/usr/bin/python3
now you can use pip
I can’t use pip I get an error
pip: bad interpreter: /Applications/Xcode.app/Contents/Developer/usr/bin/python3: no such file or directory
I try:
brew link --overwrite python
python3 -m pip install whatever
brew install python
brew postinstall python
but nothing works.
somehow python3 cmd is messed up in system by you. you need to reset it.
just run the command
set python3=/usr/bin/python3
now you can use pip