ChrisPei / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Gyp run fails with non-v2 Python installs as default. #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make the default Python version in your environment Python 3
2. Run gyp
3. Bask in the failure.

What is the expected output? What do you see instead?
  Expected: Gyp performs as it would were Python 2 running.
  Reality: Gyp fails.

What version of the product are you using? On what operating system?
  Gyp: Whatever comes bundled with the latest Node.JS
  Python: 
    Python 3.2.3 (default, Apr 23 2012, 23:14:44) 
    [GCC 4.7.0 20120414 (prerelease)] on linux2
  OS: Arch Linux

Please provide any additional information below.
  This can easily be fixed by changing the shebang in the gyp script to /usr/bin/env python2.

Original issue reported on code.google.com by bobobo1...@gmail.com on 21 Jul 2012 at 6:33