Windows 10. When using idle I got this error message. Turns out idle does not have write permission in the folder. Solution, run idle as administrator or give idle write permission. In windows security, go to Virus& threat protection, manage Ransomware protection, Allow an app through Controlled folder access, + Add an allowed app