OSX default environment with python doesn't work

The log issued are:

3.6 is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/osx/10.13/x86_64/python-3.6.tar.bz2

$ curl -sSf --retry 5 -o python-3.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404

https://docs.travis-ci.com/user/languages/python/#what-this-guide-covers:

Python builds are not available on the macOS and Windows environments.

I can recommend https://github.com/matthew-brett/multibuild to manually install Python if you need a specific version. (The specific code doing the installation is osx_utils.sh:get_macpython_environment())
If not, the one provided by Homebrew (and preinstalled IIRC) should suffice.

1 Like
Imprint