# Using Python 3.x in XCode 9.x image

**URL:** <https://discuss.circleci.com/t/using-python-3-x-in-xcode-9-x-image/21314>\
**Category:** Build Environment\
**Created:** [April 6, 2018, 8:25pm UTC](https://discuss.circleci.com/t/using-python-3-x-in-xcode-9-x-image/21314 "2018-04-06T20:25:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![attheodo](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/attheodo/32/18138_2.png) [@attheodo](https://discuss.circleci.com/u/attheodo)\
**Post date:** [April 6, 2018, 8:25pm UTC](https://discuss.circleci.com/t/using-python-3-x-in-xcode-9-x-image/21314/1 "2018-04-06T20:25:57Z")

</div>

Looks like the `XCode` images come with python 2.x pre-installed. Is there a way, other than installing it via `brew`, to use Python 3 on that image? If yes, how would anyone cache that installation so that it doesn’t repeat itself every time?

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [April 7, 2018, 12:31pm UTC](https://discuss.circleci.com/t/using-python-3-x-in-xcode-9-x-image/21314/2 "2018-04-07T12:31:10Z")

</div>

> [@attheodo](#):
>
> If yes, how would anyone cache that installation

I should think that merely installing Python 3 would be so quick, it would barely be worth caching. The build servers will be on some pretty fast connections.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [July 6, 2018, 12:31pm UTC](https://discuss.circleci.com/t/using-python-3-x-in-xcode-9-x-image/21314/3 "2018-07-06T12:31:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
