# Python3 executable no longer present

**URL:** <https://travis-ci.community/t/python3-executable-no-longer-present/9293>\
**Category:** macOS\
**Created:** [July 9, 2020, 8:16am UTC](https://travis-ci.community/t/python3-executable-no-longer-present/9293 "2020-07-09T08:16:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rweickelt](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rweickelt/32/1833_2.png) [@rweickelt](https://travis-ci.community/u/rweickelt)\
**Post date:** [July 9, 2020, 8:16am UTC](https://travis-ci.community/t/python3-executable-no-longer-present/9293/1 "2020-07-09T08:16:43Z")

</div>

Something changed yesterday in the macOS environments that broke Python3:

```
pip3 install --user beautifulsoup4 lxml

```

/Users/travis/.travis/functions: /usr/local/bin/pip3: /usr/local/opt/python/bin/python3.7: bad interpreter: No such file or directory

Failing build log: [https://travis-ci.com/github/rweickelt/qbs/builds/174899795](https://travis-ci.com/github/rweickelt/qbs/builds/174899795)  
File: [https://github.com/rweickelt/qbs/blob/master/.travis.yml](https://github.com/rweickelt/qbs/blob/master/.travis.yml)

This worked until yesterday at least on xCode 11.3, 10.3 and 9.4 images: [https://travis-ci.com/github/rweickelt/qbs/builds/174729698](https://travis-ci.com/github/rweickelt/qbs/builds/174729698)

Running `python3 -m pip` instead of `pip3` makes it work on the xCode 11.3 image, but not on older ones.

---

<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:** [July 13, 2020, 2:54pm UTC](https://travis-ci.community/t/python3-executable-no-longer-present/9293/2 "2020-07-13T14:54:44Z")

</div>

Looks like Homebrew updated Python3 to 3.8  
[https://travis-ci.com/github/rweickelt/qbs/jobs/359098930#L491](https://travis-ci.com/github/rweickelt/qbs/jobs/359098930#L491)  
so you won’t find the interpreter as `…/bin/python3.7`.

---

<div class="post-metadata">

**Author:** ![rweickelt](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rweickelt/32/1833_2.png) [@rweickelt](https://travis-ci.community/u/rweickelt)\
**Post date:** [July 14, 2020, 6:45pm UTC](https://travis-ci.community/t/python3-executable-no-longer-present/9293/3 "2020-07-14T18:45:37Z")

</div>

Yeah, it looks like it was a temporary package issue. It suddenly disappeared the other day.
