0

Whenever the command "where python" is executed a path is shown that leads me to the .exe file. Problem is that whenever I try to delete the file this window pops up:

enter image description here

I've tried installing python from that file but to no avail. A bunch of 0 kB files spring up but again I can't delete .exe.
How can I safely delete the file?

Michael Harvey
  • 1,867
  • 14
  • 10
  • Does this answer your question? [Typing “python” on Windows 10 (version 1903) command prompt opens Microsoft store](https://superuser.com/questions/1437590/typing-python-on-windows-10-version-1903-command-prompt-opens-microsoft-stor) – Ramhound Mar 03 '21 at 01:04
  • This is indeed a duplicate. The file you are attempting to delete isn't corrupt, it's simply currently in use. See the duplicate how to properly get rid of the file. – Ramhound Mar 03 '21 at 01:04
  • Do you mean files obtained by `dir %LOCALAPPDATA%\Microsoft\WindowsApps\python*`? – JosefZ Mar 03 '21 at 11:47
  • Yes and thank you for the response and it is indeed a duplicate but using del (in this case python.exe) solved the problem – X HOxha Mar 03 '21 at 17:05

0 Answers0