Share via

VS Code and Python error: PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'

vICTOR pRASAD 1 Reputation point
2023-01-31T01:47:43.9266667+00:00

Hello,

I tried running VS Code as administrator but still get this error:

PermissionError: [WinError 5] Access is denied: 'C:\users\User\AppData\Local\Application Data'

but when I did a 'whoami' it shows <computername><user> - not administrator.

How do I get around this?

Thanks,

V

Windows for business | Windows Client for IT Pros | User experience | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.