1

After I downloaded python 3 from python.org and installed it, I typed "python" on bash and still got "Python 2.7.10 (default, Aug 22 2015, ...).

How can I make python 3 the default, and is changing the default necessary to develop a Django application using python 3?

iambot
  • 25
  • 6

1 Answers1

4

I use pyenv for this.

brew install pyenv
pyenv install 3.5.0
pyenv global 3.5.0
masnun
  • 11,635
  • 4
  • 39
  • 50