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

Building a Python Project - Travis CI

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

I can recommend GitHub - matthew-brett/multibuild: Machinery for building and testing Python Wheels for Linux, OSX and (less flexibly) Windows. 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