EddyJ
EddyJ

Reputation: 117

Installing Python on Mac OS X

This should be a really simple question, but I'm a little new to all this. I am trying to update my version of Python on Mac OS X 10.6.8. So, I downloaded Python 3.3 from www.python.org, and ran the .dmg file. This then created a "Python 3.3" icon in my Applications folder. However, when I type "python -V" into the Terminal, it prints "Python 2.7.6", so clearly my version of Python has not been updated. What am I doing wrong?

Thanks!

Upvotes: 0

Views: 363

Answers (3)

Micrified
Micrified

Reputation: 3640

Updating the OS's version of Python could cause potential instability. You should not try to change that. See this similar post

Upvotes: 1

MjZac
MjZac

Reputation: 3526

Python 3.3 is installed in your mac (as you installed it from dmg). it should be invoked in terminal using python3.

Updating Python on Mac

Upvotes: 1

jgritty
jgritty

Reputation: 11915

You don't want to actually update the system version of python.

But also, python3 is the executable name.

Upvotes: 1

Related Questions