1:24:53 AM: Build ready to start
1:25:03 AM: build-image version: 9289b698a503f132b265bd089ab40ce1d6f9e65e (focal)
1:25:03 AM: build-image tag: v4.12.0
1:25:03 AM: buildbot version: 2510ae842d7cc96532da2c05a74ba836f3e7f056
1:25:03 AM: Building without cache
1:25:03 AM: Starting to prepare the repo for build
1:25:04 AM: No cached dependencies found. Cloning fresh repo
1:25:04 AM: git clone git@gitlab.com:vhbelvadi/vhbelvadi.com
1:25:12 AM: Preparing Git Reference refs/heads/master
1:25:15 AM: Parsing package.json dependencies
1:25:15 AM: Different build dir detected, going to use the one specified in the Netlify configuration file: '' versus '/' in the Netlify UI
1:25:15 AM: Starting build script
1:25:15 AM: Installing dependencies
1:25:15 AM: /opt/build-bin/run-build-functions.sh: line 223: /opt/buildhome/python3.9/bin/activate: No such file or directory
1:25:15 AM: Error setting python version from the PYTHON_VERSION environment variable
1:25:15 AM: Please see https://github.com/netlify/build-image/blob/focal/included_software.md for current versions
1:25:15 AM: Build was terminated: Build script returned non-zero exit code: 1
1:25:15 AM: Creating deploy upload records
1:25:16 AM: Failing build: Failed to build site
1:25:16 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
1:25:16 AM: Finished processing build request in 12.510275313s
Reviewing the deploy log, looks like the issue may be with the Python version selected:
1:25:15 AM: Error setting python version from the PYTHON_VERSION environment variable
1:25:15 AM: Please see https://github.com/netlify/build-image/blob/focal/included_software.md for current versions
Looks like 3.9 is being requested but it looks like only 3.8 (or 2.7) are available according to the included software list.
You can set the Python version by follow this Netlify doc: