# Unable to download Python 3.7 archive on Travis CI

**URL:** <https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639>\
**Category:** Python\
**Created:** [November 3, 2018, 9:56pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639 "2018-11-03T21:56:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kacperduras](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kacperduras/32/347_2.png) [@kacperduras](https://travis-ci.community/u/kacperduras)\
**Post date:** [November 3, 2018, 9:56pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/1 "2018-11-03T21:56:54Z")

</div>

Hello!

```auto
Downloading archive: https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.7.tar.bz2
$ curl -sSf -o python-3.7.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 403 Forbidden
Unable to download 3.7 archive. The archive may not exist. Please consider a different version.

```

~[source](https://travis-ci.org/mediascopegroup/light_rest_client/jobs/450300773)

Any ideas?

---

<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:** [November 3, 2018, 9:57pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/2 "2018-11-03T21:57:38Z")

</div>

There is no 3.7 archive for Trusty. Use Xenial instead.

```auto
dist: xenial

```

---

<div class="post-metadata">

**Author:** ![kacperduras](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kacperduras/32/347_2.png) [@kacperduras](https://travis-ci.community/u/kacperduras)\
**Post date:** [November 4, 2018, 12:31pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/3 "2018-11-04T12:31:37Z")

</div>

It works, thanks a lot!

---

<div class="post-metadata">

**Author:** ![Almenon](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/almenon/32/1106_2.png) [@Almenon](https://travis-ci.community/u/Almenon)\
**Post date:** [February 3, 2019, 5:57pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/4 "2019-02-03T17:57:48Z")

</div>

I’m using xenial and I’m still getting this error.

> <https://github.com/Almenon/AREPL-backend/blob/master/.travis.yml>

[https://travis-ci.org/Almenon/AREPL-backend/jobs/488192163](https://travis-ci.org/Almenon/AREPL-backend/jobs/488192163)

---

<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:** [February 3, 2019, 10:24pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/5 "2019-02-03T22:24:51Z")

</div>

> [@Almenon](#):
>
> I’m using xenial

You are not. [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/Almenon/AREPL-backend/jobs/488192163) corresponds to

> <https://github.com/Almenon/AREPL-backend/blob/bcc035e2727eae1fe1bebb031541283309a1986a/.travis.yml>

which does not use Xenial.

The current configuration [https://github.com/Almenon/AREPL-backend/blob/2f32a6b82f9150728b17846ed6519afa318f87c8/.travis.yml#L13-L15](https://github.com/Almenon/AREPL-backend/blob/2f32a6b82f9150728b17846ed6519afa318f87c8/.travis.yml#L13-L15) properly uses 3.7. [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/Almenon/AREPL-backend/jobs/488255080#L178)

---

<div class="post-metadata">

**Author:** ![Almenon](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/almenon/32/1106_2.png) [@Almenon](https://travis-ci.community/u/Almenon)\
**Post date:** [February 3, 2019, 10:52pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/6 "2019-02-03T22:52:13Z")

</div>

Oops, you’re right. Sorry, somehow was looking at wrong job. Thanks for help!

---

<div class="post-metadata">

**Author:** ![1oglop1](https://avatars.discourse-cdn.com/v4/letter/1/57b2e6/32.png) [@1oglop1](https://travis-ci.community/u/1oglop1)\
**Post date:** [February 7, 2019, 11:30pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/7 "2019-02-07T23:30:37Z")

</div>

@BanzaiMan  
I also have this problem with `xenial` but python is downloaded however it seems to be connected to the `boto3`  
would you mind looking into my builds please?  
[https://travis-ci.org/1oglop1/vcrpy/builds/490307330](https://travis-ci.org/1oglop1/vcrpy/builds/490307330)

---

<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:** [February 8, 2019, 1:23am UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/8 "2019-02-08T01:23:58Z")

</div>

I don’t understand what you are asking. Your build is using [the preinstalled 3.7](https://travis-ci.org/1oglop1/vcrpy/builds/490307330#L172-L174) (i.e., there is no download), and you are [setting `TOX_SUFFIX="boto3"`](https://github.com/1oglop1/vcrpy/blob/a43fbcb67e3142fd3b6b757599935e847130a166/.travis.yml#L18).

---

<div class="post-metadata">

**Author:** ![1oglop1](https://avatars.discourse-cdn.com/v4/letter/1/57b2e6/32.png) [@1oglop1](https://travis-ci.community/u/1oglop1)\
**Post date:** [February 8, 2019, 7:12am UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/9 "2019-02-08T07:12:09Z")

</div>

Okay but I still have some SSL related issue  
As this line suggests  
[https://travis-ci.org/1oglop1/vcrpy/builds/490307330#L1015](https://travis-ci.org/1oglop1/vcrpy/builds/490307330#L1015)

I found out that the issue is unrelated to travis, but related to  
[https://bugs.python.org/issue34440](https://bugs.python.org/issue34440)

The root issue came from [https://github.com/kevin1024/pytest-httpbin/issues/52](https://github.com/kevin1024/pytest-httpbin/issues/52)

thanks for your help!

---

<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:** [February 8, 2019, 1:22pm UTC](https://travis-ci.community/t/unable-to-download-python-3-7-archive-on-travis-ci/639/10 "2019-02-08T13:22:53Z")

</div>

I’m sorry to say, but your issue appears to be out of our control.
