Akanksha Goel
Akanksha Goel

Reputation: 41

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

Upvotes: 4

Views: 12548

Answers (1)

Yuri Waki
Yuri Waki

Reputation: 745

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.

Upvotes: 6

Related Questions