# Problem with visual code

**URL:** <https://forum.codewithmosh.com/t/problem-with-visual-code/1872>\
**Category:** Python\
**Created:** [January 12, 2021, 9:08am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872 "2021-01-12T09:08:41Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 9:08am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/1 "2021-01-12T09:08:41Z")

</div>

Please help me with this problem I’m trying to run the code but it isn’t working

 ![IMG_20210112_081925_476~2](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/a875f4902c3a4ef69ddc3cfcb36f07d4361b1cd5.jpeg)

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 10:38am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/2 "2021-01-12T10:38:22Z")

</div>

@Micheal Please upload your image again! There is a problem with uploading!

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 11:32am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/3 "2021-01-12T11:32:53Z")

</div>

![IMG_20210112_081925_476~2](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/a875f4902c3a4ef69ddc3cfcb36f07d4361b1cd5.jpeg).this is it

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 11:35am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/4 "2021-01-12T11:35:57Z")

</div>

Please what should I do

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 11:38am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/5 "2021-01-12T11:38:34Z")

</div>

I don’t know the solution but I can help you with that! “Go to windows search and type cmd open it and command python” check if your python is properly installed or not! If not then install [Python 3](https://www.python.org/downloads/) the latest version.

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 11:39am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/6 "2021-01-12T11:39:47Z")

</div>

Ok, thanks may God bless you

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 11:43am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/7 "2021-01-12T11:43:03Z")

</div>

@Micheal Now I catch it. Your path Windows PATH Environment Variable is not set. To set this follow the instructions [here](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/).

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 11:53am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/8 "2021-01-12T11:53:46Z")

</div>

Ok. But is there still any need to download the latest python

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 11:57am UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/9 "2021-01-12T11:57:49Z")

</div>

What python version you are running

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 12:02pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/10 "2021-01-12T12:02:00Z")

</div>

Python 3.8.3 32 bit.

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 12:03pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/11 "2021-01-12T12:03:44Z")

</div>

Your windows is 32-bit or 64-bit?

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 12:07pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/12 "2021-01-12T12:07:17Z")

</div>

It is 64 . that’s the bit

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 12:11pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/13 "2021-01-12T12:11:58Z")

</div>

Please follow the instructions [Click here](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/) and if the problem was solved or not let me know.

---

<div class="post-metadata">

**Author:** ![Spark](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Spark](https://forum.codewithmosh.com/u/Spark)\
**Post date:** [January 12, 2021, 12:16pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/14 "2021-01-12T12:16:56Z")

</div>

Python is not added to windows PATH.

@Nazmul 's solution should definitely work. However, as an alternative, you can download the [latest version of python](https://www.python.org/downloads/) , and during installation, it will give you the option to **add to path**. Checking that option should do the work for you.

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 12:34pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/15 "2021-01-12T12:34:12Z")

</div>

Thanks alot I’m grateful

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 12:34pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/16 "2021-01-12T12:34:45Z")

</div>

You solved your problem???

---

<div class="post-metadata">

**Author:** ![Micheal](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Micheal](https://forum.codewithmosh.com/u/Micheal)\
**Post date:** [January 12, 2021, 12:35pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/17 "2021-01-12T12:35:16Z")

</div>

Ok thanks very much, I’m grateful

---

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [January 12, 2021, 12:36pm UTC](https://forum.codewithmosh.com/t/problem-with-visual-code/1872/18 "2021-01-12T12:36:12Z")

</div>

You’re always Welcome 🙂
