ykagan / google-breakpad

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

cannot generate projects for MSVC with Python 3 #634

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is not possible to generate Visual Studio projects via gyp utility.
Running gyp.bat breakpad_client.gyp results in:

  File "e:\tmp\breakpad\google-breakpad\src\tools\gyp\gyp_main.py", line 12
    except ImportError, e:
                      ^
SyntaxError: invalid syntax

(Windows 7 32 bit, Python 3.4)

Original issue reported on code.google.com by Ars.Mas...@gmail.com on 9 Feb 2015 at 12:23

GoogleCodeExporter commented 9 years ago
I suspect the answer here will be "Don't use Python 3".

Original comment by ted.mielczarek on 9 Feb 2015 at 2:13

GoogleCodeExporter commented 9 years ago
Yup, don’t.

Original comment by mark@chromium.org on 9 Feb 2015 at 8:25

GoogleCodeExporter commented 9 years ago
so what should I use than?

Original comment by Ars.Mas...@gmail.com on 9 Feb 2015 at 9:14

GoogleCodeExporter commented 9 years ago
Use Python 2. 2.7.9 is the latest.

Original comment by mark@chromium.org on 9 Feb 2015 at 9:15

GoogleCodeExporter commented 9 years ago
Ok, thank you, I'll try this (tomorrow). I didn't see anything about the 
required Python version 2.x on the Wiki, therefore I thought to use the latest 
one...

Original comment by Ars.Mas...@gmail.com on 9 Feb 2015 at 9:27