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 40 times
0
-
What do you mean the python command in vsc? – kennysliding Nov 19 '20 at 06:48
-
entered an image showing the problem – 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) – kennysliding Nov 19 '20 at 06:52
-
This problem only happens on vsc – Nov 19 '20 at 06:53
-
That's interesting, are you using `cmd` or `powershell` ? – kennysliding Nov 19 '20 at 06:53
-
I think visual studio code uses Powershell but on my Powershell or cmd, it works – 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). – kennysliding Nov 19 '20 at 06:56
-
Glad it helped, maybe you can try to leave an answer down below and help others too! – kennysliding Nov 19 '20 at 07:05
-
1I just restarted the computer – Nov 19 '20 at 07:07
1 Answers
0
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.

kennysliding
- 2,783
- 1
- 10
- 31