# Setting Python 3 and distributed TK configs

**URL:** <https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902>\
**Category:** Uncategorized\
**Created:** [November 3, 2021, 12:07am UTC](https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902 "2021-11-03T00:07:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottballard](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@scottballard](https://community.shotgridsoftware.com/u/scottballard)\
**Post date:** [November 3, 2021, 12:07am UTC](https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902/1 "2021-11-03T00:07:32Z")

</div>

Hi,

I’m curious if anyone knows of a way to set Python 3 without using the SHOTGUN\_PYTHON\_VERSION env var on the local machine for TK configs that are being stored in SG (distributed)? I don’t see anything about this in the docs.

Cheers,  
Scott

---

<div class="post-metadata">

**Author:** ![nico.vandenbosch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/nico.vandenbosch/32/4949_2.png) [@nico.vandenbosch](https://community.shotgridsoftware.com/u/nico.vandenbosch)\
**Post date:** [November 5, 2021, 11:30pm UTC](https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902/2 "2021-11-05T23:30:35Z")

</div>

Hi @scottballard, have you tried setting python path in the [config]/core/interpreter\_[platform].cfg file(s)? That seemed to do the trick for me.

---

<div class="post-metadata">

**Author:** ![nico.vandenbosch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/nico.vandenbosch/32/4949_2.png) [@nico.vandenbosch](https://community.shotgridsoftware.com/u/nico.vandenbosch)\
**Post date:** [November 5, 2021, 11:53pm UTC](https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902/3 "2021-11-05T23:53:01Z")

</div>

From what I can tell SHOTGUN\_PYTHON\_VERSION is only used at startup by SG Desktop. The moment a project pipeline config is loaded it appears the python pointed to by the interpreter\_[platform].cfg takes over. Easiest way to confirm is by launching the SG Python console from within Desktop.

---

<div class="post-metadata">

**Author:** ![scottballard](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@scottballard](https://community.shotgridsoftware.com/u/scottballard)\
**Post date:** [November 6, 2021, 12:22am UTC](https://community.shotgridsoftware.com/t/setting-python-3-and-distributed-tk-configs/13902/4 "2021-11-06T00:22:54Z")

</div>

Thanks for the reply @nico.vandenbosch. It was always my understanding that the [config]/core/interpreter\_[platform].cfg file(s) shouldn’t be stored in the config that is uploaded to SG.

However, I just gave your suggestion a try, added the files to the uploaded config and it seems to work!! Many thanks! Enjoy the weekend 😀
