# OSX default environment with python doesn't work

**URL:** <https://travis-ci.community/t/osx-default-environment-with-python-doesnt-work/6116>\
**Category:** macOS\
**Tags:** build-env, python, bug\
**Created:** [November 24, 2019, 7:06pm UTC](https://travis-ci.community/t/osx-default-environment-with-python-doesnt-work/6116 "2019-11-24T19:06:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZuluPro](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/zulupro/32/3227_2.png) [@ZuluPro](https://travis-ci.community/u/ZuluPro)\
**Post date:** [November 24, 2019, 7:06pm UTC](https://travis-ci.community/t/osx-default-environment-with-python-doesnt-work/6116/1 "2019-11-24T19:06:26Z")

</div>

The log issued are:

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

```

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [November 24, 2019, 8:35pm UTC](https://travis-ci.community/t/osx-default-environment-with-python-doesnt-work/6116/2 "2019-11-24T20:35:07Z")

</div>

[Building a Python Project - Travis CI](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 [GitHub - matthew-brett/multibuild: Machinery for building and testing Python Wheels for Linux, OSX and (less flexibly) Windows.](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()`](https://github.com/matthew-brett/multibuild/blob/devel/osx_utils.sh#L367))  
If not, the one provided by Homebrew (and preinstalled IIRC) should suffice.
