Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by hockeyfan607

  1. I'm having the same issue as this man.


    And yes, I only have Python 2.7 installed.

    I think I found the problem. My computer has only Leopard, not Snow Leopard, so I think there may be a problem with Terminal not being a new enough version. I tried it on my brother's MacBook, which has Snow Leopard, and now it works perfectly.

  2. Based on that warning, it looks like it's using a version older than 2.6. Try uninstalling all versions of Python and reinstalling 2.7.1, see if that helps.

    I removed all versions of Python from my computer, and re-downloaded and re-installed Python 2.7.1. I'm still getting the same error. Is there some kind of setting I can change in Python launcher so that it doesn't somehow think I'm using an older version?

  3. I am trying to run it on my Mac. I'm using Python 2.7.1. When I try to open it I get this message:

    Warning: 'with' will become a reserved keyword in Python 2.6

    Traceback (most recent call last):

    File "/Users/Ryan/Downloads/ir-gts-bw/ir-gts-bw.py", line 12, in <module>

    from src.getpkm import getpkm

    File "/Users/Ryan/Downloads/ir-gts-bw/src/getpkm.py", line 45

    with open(fullpath, 'wb') as f:


    SyntaxError: invalid syntax

    Anyone know how I can fix this?

  • Create New...