Python not found when building Node

18 views
Skip to first unread message

Ayushman Chhabra

unread,
Mar 3, 2023, 2:15:49 PM3/3/23
to nw.js
Dear Roger,

I'm currently working on https://github.com/nwjs/nw.js/pull/8037

I am getting a Node build error which is preventing me from testing my changes. I've been able to resolve all previous  `python: not found` errors. I am stuck on this one:

some_user@some_ip_addr:~/.../nw/src$ ninja -C ./out/Release node
ninja: Entering directory `./out/Release'
[1/127] ACTION data_assembly: make_data_assembly_9e254b6964e5a64863ac57419a314e5c
FAILED: gen/third_party/icu/icudtl_dat.S
cd ../../third_party/icu; python scripts/make_data_assembly.py common/icudtl.dat ../../out/Release/gen/third_party/icu/icudtl_dat.S
/bin/sh: 1: python: not found
ninja: build stopped: subcommand failed.

I am unable to locate the script that makes the `python scripts/make_data_assembly.py` call. Based on the error log, do you have any idea which file to look at?

Best Regards
Ayushman

Ayushman Chhabra

unread,
Mar 3, 2023, 2:30:10 PM3/3/23
to nw.js
Turns out I had to rebuild the Node build files and then run ninja again
Reply all
Reply to author
Forward
0 new messages