# Code runner installed, Python was not found;

**URL:** <https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243>\
**Category:** Python\
**Created:** [May 15, 2023, 5:57am UTC](https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243 "2023-05-15T05:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![noobiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/noobiee/32/6307_2.png) [@noobiee](https://forum.codewithmosh.com/u/noobiee)\
**Post date:** [May 15, 2023, 5:57am UTC](https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243/1 "2023-05-15T05:57:30Z")

</div>

Hi everyone! I’m just new to Python. When I tried running this code using `Ctrl+Alt+N`, I get this error. I don’t understand why. Please help me fix this.

Thanks in advance!

 ![errror](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/0d4ba75abc7e4a36baef8cff26c42a61c75b0215.jpeg)

---

<div class="post-metadata">

**Author:** ![noobiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/noobiee/32/6307_2.png) [@noobiee](https://forum.codewithmosh.com/u/noobiee)\
**Post date:** [May 15, 2023, 12:46pm UTC](https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243/2 "2023-05-15T12:46:18Z")

</div>

UPDATE: I think it works now. Instead of `"python3"`, just type `"python"` in the json file.  
In my case it’s line 12: `"python": "python"`

🫠

 ![coderunner](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/2508837ad81b02eb69c13bbd84af5385958fae98.jpeg)

---

<div class="post-metadata">

**Author:** ![MTownsend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mtownsend/32/6311_2.png) [@MTownsend](https://forum.codewithmosh.com/u/MTownsend)\
**Post date:** [May 16, 2023, 2:26am UTC](https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243/3 "2023-05-16T02:26:28Z")

</div>

Thanks for the update, and glad you got it going.

It looks like you are on a Windows system, so `python` or `py` can be used. MacOs is sold with the older python version 2 pre-installed. This is why `python3` needs to be used in place of just `python`. It distinguishes which version of python interprepreter you are using. Since windows does not come stock with python then the version you installed should be the only version there, no collision.

---

<div class="post-metadata">

**Author:** ![noobiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/noobiee/32/6307_2.png) [@noobiee](https://forum.codewithmosh.com/u/noobiee)\
**Post date:** [May 16, 2023, 2:35am UTC](https://forum.codewithmosh.com/t/code-runner-installed-python-was-not-found/20243/4 "2023-05-16T02:35:56Z")

</div>

@MTownsend Thanks for the info! Yes I’m using Windows and glad that I figured it out too 🙂
