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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,705 questions
{count} votes