Jarvis098
Jarvis098

Reputation: 1780

`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.

Upvotes: 3

Views: 2782

Answers (1)

toraritte
toraritte

Reputation: 8283

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.

Upvotes: 1

Related Questions