# Changing python -u to python3 in VSCode running Python

**URL:** <https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865>\
**Category:** Uncategorized\
**Created:** [August 18, 2021, 12:16am UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865 "2021-08-18T00:16:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunner11](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@Gunner11](https://forum.codewithmosh.com/u/Gunner11)\
**Post date:** [August 18, 2021, 12:16am UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865/1 "2021-08-18T00:16:02Z")

</div>

Hello guys, I am Getting Started section, lecture 9: Running Python Code, Mosh shows how to open and change the json settings. My problem is in his video in the version of his Vscode you can place your settings on the write side to overwrite their default. On the latest version of VSCode (1.52.0) I do not have that option. At this time I am unable to change my python -u to python3. Please if anyone else encountered this problem and was able to figure it out I would gladly appreciate the help thank you.

---

<div class="post-metadata">

**Author:** ![Ammar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ammar/32/2144_2.png) [@Ammar](https://forum.codewithmosh.com/u/Ammar)\
**Post date:** [August 19, 2021, 10:00pm UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865/2 "2021-08-19T22:00:58Z")

</div>

Yeah I had this problem.  
Just go to setting and search for json  
Then click “Edit in setting.json”  
like this:

 ![Json](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/86083df5f280b31ac7707f1e39c311d39d769984.png)

---

<div class="post-metadata">

**Author:** ![PJC86](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PJC86](https://forum.codewithmosh.com/u/PJC86)\
**Post date:** [March 21, 2022, 9:18am UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865/3 "2022-03-21T09:18:32Z")

</div>

Im having the same problem. It looks different in the latest version of VSCode to the video and so Im not sure how to get to the user setting section to make the change to python3.  
#usingMac

---

<div class="post-metadata">

**Author:** ![alisheini](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@alisheini](https://forum.codewithmosh.com/u/alisheini)\
**Post date:** [March 28, 2022, 1:53pm UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865/4 "2022-03-28T13:53:02Z")

</div>

I have the same issue. I spend a lots of time and i ended watching lots of videos, but I didn’t find a way.

---

<div class="post-metadata">

**Author:** ![PJC86](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PJC86](https://forum.codewithmosh.com/u/PJC86)\
**Post date:** [April 2, 2022, 8:54am UTC](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode-running-python/6865/5 "2022-04-02T08:54:16Z")

</div>

Okay, I managed to it find by searching “settings json”

![Screen Shot 2022-04-02 at 10.49.05](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/d/d1bf79ac0109598791cd707ccaeb5aae3b1305eb.png)

I then selected json instead of ui.

Then also had to type

“code-runner.executorMap”:

This then generated the code where the Python settings could be changed- this is also used for referencing to the virtual environment.
