Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running python on Command prompt:Access is Denied

I installed python long back and worked fine for all these months, I could install libraries from command prompt..run python programs using shell from vba until one day..It started failing, I am able to run python scripts from idle but not from command prompt or vba. I have tried checking my permission but to no success.

If I type python on command prompt, it says the app can't run on this pc and later "Access Denied" displays on the prompt. Image of Error

like image 941
Akanksha Goel Avatar asked Sep 15 '25 10:09

Akanksha Goel


1 Answers

To someone who might find this: I had the same problem, when I checked the python.exe file located at C:\Users{your user}\AppData\Local\Programs\Python\Python37 it had 0 bytes, I just reinstalled it to solve the problem, I don't know how this happened.

like image 187
Yuri Waki Avatar answered Sep 17 '25 01:09

Yuri Waki