Python3 executable no longer present

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
File: 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

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

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

1 Like

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