简体   繁体   中英

Errno 13 Permission denied 'C:\\Program files\\Python310\\CS project.py'

I am unable to understand what the problem is, some parts of the code are working but some parts were not so to check it I intentionally put errors but the interpreter is not raising any issues. I recently reinstalled python as I was facing issues while installing modules and now I think while sorting out that problem I did something that is the reason for this problem. there is division by zero which should raise an exception but it does not

It seems like you are trying to run your python script from a folder that prohibits access from a non-administrator. Either move your script CS project.py to a folder that you can run (for example, your Desktop), or run your cmd (or powershell ) with Administrator permissions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM