src/build/gyp_chromium should add src/tools/gyp/pylib to your python sys.path >> sys.path.append(os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
Could you check if you have gyp files on your drive (should be under "C:\chromiumtrunk\src\tools\gyp")? Maybe previous "gclient sync" failed somehow and did not get you everything you need. On Mon, Nov 16, 2009 at 6:34 AM, Eduardo Maggio <[email protected]> wrote: > Thanks for the reply. > As suggested by Xiyuan, I unset my Python enviroment vars and it > worked! The gclient now is using its own Python version inside c: > \depot_tools. > I still don't know how to build the browser since I can't find the > file chrome\chrome.sln as specified in “Build Instructions > (Windows)” (to build in Visual Studio 2008). Instead, there are other > 16 sln files. > Also, following the steps from the site, I got another error message: > > C:\chromiumtrunk>gclient runhooks --force > > ________ running 'C:\depot_tools\python_bin\python.exe src/build/ > gyp_chromium' in 'C:\chromiumtrunk' > Traceback (most recent call last): > File "src/build/gyp_chromium", line 19, in ? > import gyp > ImportError: No module named gyp > failed to run command: C:\depot_tools\python_bin\python.exe src/build/ > gyp_chromium > > C:\chromiumtrunk> > > Well, what I have to do in order to build the browser? > > On 16 nov, 11:44, Marc-Antoine Ruel <[email protected]> wrote: > > I don't know where you put your depot_tools but I'd try to delete > > depot_tools\python.bat and try again. > > > > It seems like downloading the python zip failed. > > > > M-A > > > > > > > > On Sun, Nov 15, 2009 at 11:23 PM, Eduardo Maggio <[email protected]> > wrote: > > > Well, I'm not sure if it's the right place to post that, but anyway... > > > In order to get the source sync and build the last version of chrome > > > (OS: Windows XP), I tried to follow the steps from the site but it > > > ended with this error message: > > > > > C:\>cd chromiumtrunk > > > > > C:\chromiumtrunk>gclient confighttp://src.chromium.org/svn/trunk/src > > > Installing subversion ... > > > Installing python ... > > > 'import site' failed; use -v for traceback > > > Traceback (most recent call last): > > > File "C:\depot_tools\bootstrap\\..\gclient.py", line 72, in ? > > > import logging > > > File "C:\Python26\lib\logging\__init__.py", line 728 > > > finally: > > > ^ > > > SyntaxError: invalid syntax > > > > > --- > > > Can someone tell me how to fix that? > > > > > -- > > > Chromium Developers mailing list: [email protected] > > > View archives, change email options, or unsubscribe: > > > http://groups.google.com/group/chromium-dev > > -- > Chromium Developers mailing list: [email protected] > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
