Windows 10 ransomware protection blocking Hugo

Installed Hugo on windows 10 using scoop
Went for "hugo new site "
Got this kind of error:
Error: Failed to create dir: … mkdir : The system cannot find the file specified.

Searched quite a lot till I saw one post regarding Window’s ransomware protection blocking python.
Turned off this utility (Security -> Virus protection -> ransomware) and Hugo started working.