Error: Can not remove temporary directory

OMG, I’ve figured this out. Windows 11 treats Python as a ransomware attack.
When I switched this off it started working again.

Microsoft is getting on my nerves recently.

2 Likes