Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Windows #37

Closed
johnsee opened this issue Jul 14, 2011 · 6 comments
Closed

Error on Windows #37

johnsee opened this issue Jul 14, 2011 · 6 comments

Comments

@johnsee
Copy link

johnsee commented Jul 14, 2011

Traceback (most recent call last):
File "C:\Program Files\rembo10-headphones-5b15592\headphones.py", line 4, in <
module>
from lib.configobj import ConfigObj
File "C:\Program Files\rembo10-headphones-5b15592\lib\configobj.py", line 1644

except Exception, e:
                ^

SyntaxError: invalid syntax


Occuring on Win XP.

@rembo10
Copy link
Owner

rembo10 commented Jul 14, 2011

What version of python?

On Jul 14, 2011, at 12:50 AM, johnseereply@reply.github.com wrote:

Traceback (most recent call last):
File "C:\Program Files\rembo10-headphones-5b15592\headphones.py", line 4, in <
module>
from lib.configobj import ConfigObj
File "C:\Program Files\rembo10-headphones-5b15592\lib\configobj.py", line 1644

except Exception, e:
^
SyntaxError: invalid syntax


Occuring on Win XP.

Reply to this email directly or view it on GitHub:
#37

@johnsee
Copy link
Author

johnsee commented Jul 14, 2011

Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32

(ps: Awesome project)

@rembo10
Copy link
Owner

rembo10 commented Jul 14, 2011

Thanks!

It was actually built for Python 2.x.x

Maybe try this: http://docs.python.org/library/2to3.html

@rembo10 rembo10 closed this as completed Jul 14, 2011
@JasonToledo
Copy link

Question - is it better to run Pyhton 2.x.x or convert the code to 3.x?

@rembo10
Copy link
Owner

rembo10 commented Aug 16, 2012

Much better to run python 2.7. You can have both installed I think. That was a bad answer on my part - I'll update the code to python 3 when it's more widely adopted

@JasonToledo
Copy link

Thanks! Fantastic project - I will donate on payday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants