Hello,
I am facing an issue while running python 3.9.13 (OS : Windows)
During installation python has been added to path variable and works fine via cmd (admin access)
With non-admin user on executing any script or even running python command its gives error
For e.g. <test.py> #has content → print(“Hello World”)
On executing command < python test.py> on cmd (non-admin user/ IDE (pycharm)
I get output as below,
Hello World
“program python exe failed to run access is deniedat line 1 char 1”
+ python <script_name>
+ At line : 1 char : 1
+ python <script_name>
** + CategoryInfo : Resource Unavailable : ( , ApplicationFailedException**
** + FullyQualifiedErrorID : NativeCommandFailed**
Running cmd/IDE as administrator works fine but issue persists when executed as non-admin user.