# Install Python 3.6.0 on Xenial

**URL:** <https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969>\
**Category:** Python\
**Tags:** build-env, python\
**Created:** [September 22, 2020, 2:45pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969 "2020-09-22T14:45:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![LostInDarkMath](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lostindarkmath/32/5033_2.png) [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Post date:** [September 22, 2020, 2:45pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/1 "2020-09-22T14:45:39Z")

</div>

Hi there,  
I need to test my against against Python 3.6.0. This version needs to be exact.  
But if I write it like this

```auto
language: python
python: # https://docs.travis-ci.com/user/languages/python/#python-versions
  - "3.6" # got Python 3.6.7
  - "3.6.0" # produces error 404 not found

```

it does not work (see comments).  
My my question is, how can I install Python 3.6.0 on Xenial?

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 22, 2020, 3:19pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/2 "2020-09-22T15:19:03Z")

</div>

> **[Travis CI Documentation](https://docs.travis-ci.com/user/languages/python/#python-versions)**
>
> Building a Python Project

Currently we don’t have 3.6.0 for Xenial, but we do for others, including bionic.

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 22, 2020, 7:45pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/3 "2020-09-22T19:45:00Z")

</div>

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/cpython-builder/builds/186070574)**

If it succeeds, it will be available within 24 hours.

---

<div class="post-metadata">

**Author:** ![LostInDarkMath](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lostindarkmath/32/5033_2.png) [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Post date:** [September 23, 2020, 3:30pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/4 "2020-09-23T15:30:15Z")

</div>

The build was successful, right?  
But I’m still unable to use Python 3.6.0 with Travis ☹

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 23, 2020, 4:08pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/5 "2020-09-23T16:08:22Z")

</div>

it hasn’t been 24 hours yet.

---

<div class="post-metadata">

**Author:** ![LostInDarkMath](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lostindarkmath/32/5033_2.png) [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Post date:** [September 23, 2020, 8:42pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/6 "2020-09-23T20:42:45Z")

</div>

Now there are. And the problem is still the same.

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 23, 2020, 9:42pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/7 "2020-09-23T21:42:09Z")

</div>

Oops. I apologize. The build I indicated earlier was for Bionic. 🙈

I’ve kicked off one for Xenial now.

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/cpython-builder/builds/186304759)**

---

<div class="post-metadata">

**Author:** ![LostInDarkMath](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lostindarkmath/32/5033_2.png) [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Post date:** [September 25, 2020, 10:45am UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/8 "2020-09-25T10:45:57Z")

</div>

Thank you very much! It works now 🙂

---

<div class="post-metadata">

**Author:** ![LostInDarkMath](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/lostindarkmath/32/5033_2.png) [@LostInDarkMath](https://travis-ci.community/u/LostInDarkMath)\
**Post date:** [September 25, 2020, 12:09pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/9 "2020-09-25T12:09:32Z")

</div>

Maybe there was a good reason for not supporting Python 3.6.0:  
There is a bug in `coverage`:  
Details: [https://github.com/nedbat/coveragepy/issues/703](https://github.com/nedbat/coveragepy/issues/703)  
Example travis output of my project: [https://github.com/LostInDarkMath/pedantic-python-decorators/pull/27/checks?check\_run\_id=1165391001](https://github.com/LostInDarkMath/pedantic-python-decorators/pull/27/checks?check_run_id=1165391001)

I guess the only way to avoid this is changing to Python 3.6.1, right?

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 25, 2020, 1:14pm UTC](https://travis-ci.community/t/install-python-3-6-0-on-xenial/9969/10 "2020-09-25T13:14:34Z")

</div>

> [@LostInDarkMath](#):
>
> I guess the only way to avoid this is changing to Python 3.6.1, right?

Seems that way.
