-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Use python2 binary, since python can be an alias to python3 #1030
Comments
I'm having issues trying to compile stuff
Python defaults to 3.x but python2.6 and python2.7 are available. ?????????? |
that’s OK. PEP 394 says:
#911 would fix node-gyp to do this right and use |
This allows you to work around the issue for atom:
Perhaps it works with npm too. |
Just FYI: https://groups.google.com/forum/#!topic/gyp-developer/FpZiX88f5ZU Hopefully this will be fixed upstream too, soon. |
I'm going to close this because I don't think we'll change the current behavior. node-gyp goes to some lengths to find a python2 binary with a fallback to just 'python'. IOW, this should work most of the time and when it doesn't you can pass |
when this was created, it certainly didn’t thought 😉 |
It did, actually. The algorithm was tweaked a little, though. |
am i missing something? look at #911’s diff (my PR from back then): i don’t see any attempt at the previous code to use anything but the “python” binary. |
would have been fixed in #911
The text was updated successfully, but these errors were encountered: