Builds fail with "pip: command not found" on MacOS Images

Problem

Python 2 is no longer installed for macOS images from Xcode 11.4 onwards. This is due to homebrew deleting the Python 2 formula after it being deprecated for several years.

Solution

The current workaround is to install the `pyenv` package from homebrew. This will link the `python` and `pip` commands to python 3.7 instead.

- run: brew install pyenv

Additional Resources

 

Was this article helpful?
5 out of 28 found this helpful

Comments

0 comments

Article is closed for comments.