Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

`python: not found` error when fetching Chromium source with `depot_tools`

I'm recently following the Chromium build instructions for Windows but fetch yields the following error:

$ fetch chromium
/c/src/depot_tools/fetch: line 8: exec: python: not found

NB: Python 3.6 is already installed on my PC.

like image 991
Jarvis098 Avatar asked Nov 19 '25 11:11

Jarvis098


1 Answers

The Windows build instructions fail to specify the required Python version, but the Linux ones are clear:

System requirements

  • A 64-bit Intel machine with at least 8GB of RAM. More than 16GB is highly recommended.
  • At least 100GB of free disk space.
  • You must have Git and Python v2 installed already.

The executable for Python 3.x is python3, and the one for Python 2.x is python, therefore you need to install Python 2.x.

like image 86
toraritte Avatar answered Nov 21 '25 08:11

toraritte



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!