3

I made the mistake of installing python 2.7.6 without using home brew and now my python is set to the python in /usr/local/bin/python (which is 2.7.6).

I want to get rid of python 2.7.6 and change my default python to the standard system python 2.7.5 in /usr/bin/python.

How do I do this?

esnadr
  • 427
  • 3
  • 18
user2604504
  • 697
  • 2
  • 14
  • 29

1 Answers1

-1

Did you take a look at this? I assume you are using bash shell.So you can put

PYTHONPATH="$PYTHONPATH:/usr/bin/python"

in your ~/.bash_profile. For me , I use zsh. So I place it in ~/.zshrc.

Community
  • 1
  • 1