# Missed \`pip\` after xcode image update

**URL:** <https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802>\
**Category:** macOS\
**Created:** [March 25, 2020, 9:48pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802 "2020-03-25T21:48:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![puzrin](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/puzrin/32/4151_2.png) [@puzrin](https://travis-ci.community/u/puzrin)\
**Post date:** [March 25, 2020, 9:48pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/1 "2020-03-25T21:48:05Z")

</div>

MacOS tests now fails after xcode images were updated:

[https://travis-ci.org/github/speedcontrols/ac\_sc\_grinder/jobs/666991991](https://travis-ci.org/github/speedcontrols/ac_sc_grinder/jobs/666991991)

Seems python’s `pip` was removed.

```auto
$ pip install -U platformio

/Users/travis/.travis/functions: line 109: pip: command not found

The command "pip install -U platformio" failed and exited with 127 during .

```

---

<div class="post-metadata">

**Author:** ![stdnmr](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@stdnmr](https://travis-ci.community/u/stdnmr)\
**Post date:** [March 26, 2020, 12:11pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/2 "2020-03-26T12:11:17Z")

</div>

We have the same problem: [https://travis-ci.com/github/smash-transport/smash-devel/jobs/302610743](https://travis-ci.com/github/smash-transport/smash-devel/jobs/302610743)

`pip3` is still available though. But the install location is not in `$PATH`, so you have to update it too. This workaround seems to work for us for macOS builds.

But maybe there is a better solution…

---

<div class="post-metadata">

**Author:** ![DavidMansolino](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@DavidMansolino](https://travis-ci.community/u/DavidMansolino)\
**Post date:** [March 26, 2020, 12:37pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/3 "2020-03-26T12:37:39Z")

</div>

Same problem here.

We managed to fix it by manually installing pip:

> <https://github.com/cyberbotics/webots/pull/1500/files>

---

<div class="post-metadata">

**Author:** ![geerlingguy](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/geerlingguy/32/306_2.png) [@geerlingguy](https://travis-ci.community/u/geerlingguy)\
**Post date:** [March 30, 2020, 4:53pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/4 "2020-03-30T16:53:00Z")

</div>

Same issue here; tracking for my project in [https://github.com/geerlingguy/ansible-role-mas/issues/22](https://github.com/geerlingguy/ansible-role-mas/issues/22) — that was with `xcode11.2`, I just ran another test with `xcode11.3`, and that failed too.

Note that my test with `xcode10.1` is still passing, so that environment (10.13) seems unaffected.

---

<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:** [March 30, 2020, 6:32pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/5 "2020-03-30T18:32:39Z")

</div>

Sorry about that. We’ll take a look.

---

<div class="post-metadata">

**Author:** ![vincentkfu](https://avatars.discourse-cdn.com/v4/letter/v/76d3ee/32.png) [@vincentkfu](https://travis-ci.community/u/vincentkfu)\
**Post date:** [April 8, 2020, 3:14pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/6 "2020-04-08T15:14:51Z")

</div>

This seems to be resolved for me with the note about the 04.06.2020 update to the xcode11.2 image

> **[Xcode 11.3.1, Xcode 11.2.1, Xcode 11.1 and Xcode11 images updated - Travis CI...](https://changelog.travis-ci.com/xcode-11-3-1-xcode-11-2-1-xcode-11-1-and-xcode11-images-updated-142286)**
>
> Now your builds using Xcode 11.3.1, Xcode 11.2.1, Xcode 11.1 and Xcode 11 images will run on macOS 10.14.6. 
> This...

---

<div class="post-metadata">

**Author:** ![stdnmr](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@stdnmr](https://travis-ci.community/u/stdnmr)\
**Post date:** [April 9, 2020, 11:44am UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/7 "2020-04-09T11:44:39Z")

</div>

I can confirm that also for us `pip` is now found again.

---

<div class="post-metadata">

**Author:** ![cesar-cs](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/cesar-cs/32/4584_2.png) [@cesar-cs](https://travis-ci.community/u/cesar-cs)\
**Post date:** [May 14, 2020, 5:29pm UTC](https://travis-ci.community/t/missed-pip-after-xcode-image-update/7802/8 "2020-05-14T17:29:11Z")

</div>


