Error during ESP 32 compilation

Hi I am getting an error like this when i upload a code into my esp32
Traceback (most recent call last):
File "gen_insights_package.py", line 56, in
File "gen_insights_package.py", line 25, in main
File "os.py", line 213, in makedirs
File "os.py", line 213, in makedirs
File "os.py", line 213, in makedirs
[Previous line repeated 4 more times]
File "os.py", line 223, in makedirs
PermissionError: [WinError 5] Access is denied: 'C:\Users\Gagan'
[9704] Failed to execute script 'gen_insights_package' due to unhandled exception!

exit status 1

Compilation error: exit status 1
Pls help

You might have a non-standard system. Are you trying that upload as user "Gagan"? If yes, why is your system rejecting file access to that directory?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.