Python 3.1: Syntax Error for Everything! (Mac OS X)

Posted by Nathan G. on Stack Overflow See other posts from Stack Overflow or by Nathan G.
Published on 2011-01-15T22:42:11Z Indexed on 2011/01/15 22:54 UTC
Read the original article Hit count: 131

Filed under:
|
|
|
|

I updated to Python 3.1.3 (I've got OS X 10.6).

If I type python in Terminal, I get a working 2.6.1 environment.
If I type python3 in Terminal, I get a 3.1.3 environment. Everything looks fine until I do something. If I try to run print "hello", I get a syntax error.
This problem is the same in IDLE.

I tried deleting everything for 3.1 and then reinstalling, but it hasn't worked.

Ideas?
Thanks in advance!

© Stack Overflow or respective owner

Related posts about python

Related posts about osx