# Installing python3 on VS Code on Mac

**URL:** <https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065>\
**Category:** Uncategorized\
**Created:** [January 18, 2021, 5:47pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065 "2021-01-18T17:47:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hassan.mian](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassan.mian](https://forum.codewithmosh.com/u/hassan.mian)\
**Post date:** [January 18, 2021, 5:47pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/1 "2021-01-18T17:47:45Z")

</div>

Hi, I’m in Complete Python Mastery (Chapter1 - lesson9). My VS code is the latest version and on Mac. I can open setting.json.  
But once I open it, there’s no search bar to search for “code-runner.executorMap”.  
I’m stuck. Thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![hassan.mian](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassan.mian](https://forum.codewithmosh.com/u/hassan.mian)\
**Post date:** [January 21, 2021, 3:19am UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/2 "2021-01-21T03:19:47Z")

</div>

Update: Issue Resolved

---

<div class="post-metadata">

**Author:** ![ammnu89](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ammnu89/32/772_2.png) [@ammnu89](https://forum.codewithmosh.com/u/ammnu89)\
**Post date:** [January 26, 2021, 8:08pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/3 "2021-01-26T20:08:48Z")

</div>

The forum content you share is really useful to me, I will follow up with the next posts from you. Thank you for sharing.

---

<div class="post-metadata">

**Author:** ![NicolasATC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nicolasatc/32/714_2.png) [@NicolasATC](https://forum.codewithmosh.com/u/NicolasATC)\
**Post date:** [January 26, 2021, 8:22pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/4 "2021-01-26T20:22:09Z")

</div>

As a suggestion, post the way you resolved the issue… someone may have the same doubt and will benefit from your experience.

---

<div class="post-metadata">

**Author:** ![hassan.mian](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassan.mian](https://forum.codewithmosh.com/u/hassan.mian)\
**Post date:** [January 29, 2021, 3:28pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/5 "2021-01-29T15:28:20Z")

</div>

Thank you for pointing that out, I’ll add the steps right away.

---

<div class="post-metadata">

**Author:** ![hassan.mian](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassan.mian](https://forum.codewithmosh.com/u/hassan.mian)\
**Post date:** [January 29, 2021, 3:33pm UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/6 "2021-01-29T15:33:26Z")

</div>

I had the same issue. it’s in course Complete Python Mastery (Chapter1 - lesson9). I can open setting.json.  
When you go to Code, Preferences, Setting then there’s an icon on top of search bar right next to Run/Play Icon. That’s the icon for Setting.json.  
I was able to find default settings in json file. View \> Command Palette \> Type 'Open Default Settings JSON" \> Cntrl + F \> then type “code-runner.executorMap”. You should see the “python”: “python -u”, on line 3882.  
TIP:  
However, we don’t need to go there. Once you go to Code \> Preferences \> Settings \> Setting.json icon, and a new window opens up, then add comma at the end of last line (will either day true or false), then go to next line and type "code-runner.executorMap” and hit enter when you see this function while you’re typing. Next go and change “python -u” to simply “python3”  
Let me know if it worked for you

---

<div class="post-metadata">

**Author:** ![Chloe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/chloe/32/1237_2.png) [@Chloe](https://forum.codewithmosh.com/u/Chloe)\
**Post date:** [March 27, 2021, 5:45am UTC](https://forum.codewithmosh.com/t/installing-python3-on-vs-code-on-mac/2065/7 "2021-03-27T05:45:06Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/7398ec7089b801550699edebfcfb4ebd718ba35e.jpeg) I did this way and not working, can’t find the view. Can you explain? Thank you!
