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

gyp requires newer python version #56

Closed
mscdex opened this issue May 6, 2012 · 3 comments
Closed

gyp requires newer python version #56

mscdex opened this issue May 6, 2012 · 3 comments

Comments

@mscdex
Copy link
Contributor

mscdex commented May 6, 2012

I'm not sure what version exactly that gyp requires now, but at least on OSX 10.6 with Python 2.6.1, I get a syntax error that points to the beginning of my binding.gyp file. I installed Python 2.7.3 to a separate directory and used it with node-gyp instead, which worked just fine.

I also tested on 2.7.2 and 2.7.3 on Linux and Windows without issues. So maybe it requires Python >= 2.7 now or ?

@TooTallNate
Copy link
Contributor

Can you show me the full error output? I think I've seen what you are talking about, and it possible gets fixed by doing a node-gyp clean call.

@TooTallNate
Copy link
Contributor

Though I believe gyp works back to Python 2.5; I've run it successfully on my iPhone which has an older version of Python.

@mscdex
Copy link
Contributor Author

mscdex commented May 6, 2012

@TooTallNate I was using rebuild which should be calling clean. Unfortunately I cannot seem to reproduce the problem after I installed python 2.7.3 last night. I even attempted to set PYTHON, PYTHONPATH, and PYTHONHOME to where I think they were/should be pointing, but no such luck. :-\

@mscdex mscdex closed this as completed May 6, 2012
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

2 participants