# Python builds started failing to download 2.7.12

**URL:** <https://travis-ci.community/t/python-builds-started-failing-to-download-2-7-12/3516>\
**Category:** Python\
**Tags:** python\
**Created:** [May 25, 2019, 7:57pm UTC](https://travis-ci.community/t/python-builds-started-failing-to-download-2-7-12/3516 "2019-05-25T19:57:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantswain](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dantswain/32/1863_2.png) [@dantswain](https://travis-ci.community/u/dantswain)\
**Post date:** [May 25, 2019, 7:57pm UTC](https://travis-ci.community/t/python-builds-started-failing-to-download-2-7-12/3516/1 "2019-05-25T19:57:35Z")

</div>

Hi, we have a python 2.7.12 build that has started failing with the following error:

```auto
2.7.12 is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.7.12.tar.bz2
NaNs$ curl -sSf -o python-2.7.12.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found

```

This is the only language-specific settings in our .travis.yml:

```auto
language: python

python:
- 2.7.12

```

---

<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:** [May 26, 2019, 10:50am UTC](https://travis-ci.community/t/python-builds-started-failing-to-download-2-7-12/3516/2 "2019-05-26T10:50:19Z")

</div>

Either they dropped Python 2.7.12 support (there have been multiple releases since then),  
or [you were automatically moved to Xenial](https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment) for which it was never supported.

---

<div class="post-metadata">

**Author:** ![dantswain](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dantswain/32/1863_2.png) [@dantswain](https://travis-ci.community/u/dantswain)\
**Post date:** [May 26, 2019, 12:54pm UTC](https://travis-ci.community/t/python-builds-started-failing-to-download-2-7-12/3516/3 "2019-05-26T12:54:41Z")

</div>

Yes, it seems we were converted to xenial, and that Xenial does not support 2.7.12. Was there any communication of that other than the blog post? I don’t recall getting any notifications and I don’t follow the blog.

For anyone running into this problem, add

```auto
dist: trusty

```

to your .travis.yml.
