As you found on Twitter, some context here: 
https://bugs.chromium.org/p/chromium/issues/detail?id=1033106#c12

On Thursday, December 12, 2019 at 1:38:02 PM UTC-6, Bill Ticehurst wrote:
>
> I sync'ed to branch-heads/7.9 this morning, did a "gclient sync", and 
> tried to build as usual, and got the below errors shown from the python 
> script re "No module named win32file".
>
> I tried a bunch of stuff, including completely cleaning my V8 enlistment, 
> and completely deleting and redownloading/syncing the "depot_tools" folder 
> per the Chromium instructions, and it still persisted.
>
> In the end, I followed the post at "
> https://stackoverflow.com/questions/55551188/python-importerror-no-module-named-win32file";
>  
> and simply ran "python -m pip install pywin32". Now the build is working 
> again.
>
> From running that command, I can see the "win32" packages got added under 
> "C:\src\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\Lib\site-packages".
>  
> Why didn't depot_tools install this if needed? Is there some recent change 
> that caused this (as I've not seen this error before)? I'm not very 
> familiar with the workings of "depot_tools", but can investigate or log an 
> issue elsewhere with some guidance.
>
>  - Bill
>
> C:\src\github\v8>python tools\dev\gm.py x64.debug
> # autoninja -C out\x64.debug d8
> "C:\src\depot_tools\ninja.exe" -C out\x64.debug d8 -j 10
> ninja: Entering directory `out\x64.debug'
> [1/1253] COPY ../../third_party/icu/common/icudtl.dat icudtl.dat
> FAILED: icudtl.dat
> C:/src/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe 
> ../../build/toolchain/win/tool_wrapper.py recursive-mirror 
> ../../third_party/icu/common/
> icudtl.dat icudtl.dat
> Traceback (most recent call last):
> File "../../build/toolchain/win/tool_wrapper.py", line 51, in <module>
> import win32file # pylint: disable=import-error
> ImportError: No module named win32file
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/4e75db61-410a-4340-a93d-c7d32fe1b7be%40googlegroups.com.

Reply via email to