I was receiving the error: "ERROR: PermissionError - [WinError 5] Access is denied: '.elasticbeanstalk\\'" and the top google result brought me here.
In my case I was calling "eb init" within a bash shell, switching to Windows PowerShell resolved the issue for me. (You might also have to be authenticated via aws sso login)