I recently deleted python 3.8.2 and installed python 3.9.
But when I use the python command on visual studio code, Microsoft shop opens and if I do something like python -v it prints Python.(It works well on console)
Asked
Active
Viewed 36 times
0
Woohyun Jung
- 334
- 2
- 13
-
What do you mean the python command in vsc? – burningalc Nov 19 '20 at 06:48
-
entered an image showing the problem – Woohyun Jung Nov 19 '20 at 06:51
-
Does this answer your question? [CMD opens window store when I type python](https://stackoverflow.com/questions/58754860/cmd-opens-window-store-when-i-type-python) – burningalc Nov 19 '20 at 06:52
-
This problem only happens on vsc – Woohyun Jung Nov 19 '20 at 06:53
-
That's interesting, are you using `cmd` or `powershell` ? – burningalc Nov 19 '20 at 06:53
-
I think visual studio code uses Powershell but on my Powershell or cmd, it works – Woohyun Jung Nov 19 '20 at 06:55
-
Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/224772/discussion-between-burning-alcohol-and-kiki7000). – burningalc Nov 19 '20 at 06:56
-
Glad it helped, maybe you can try to leave an answer down below and help others too! – burningalc Nov 19 '20 at 07:05
-
1I just restarted the computer – Woohyun Jung Nov 19 '20 at 07:07
1 Answers
1
As per our discussion, the golden rule is always try to restart your computer first.
If that does not work, see how to fix this by setting alias.
burningalc
- 2,498
- 1
- 7
- 27