Please understand, this is a new problem. I have been using PIO with great success for months. The only thing, to my knowledge, it that I upgraded to Python 3.7.x.
None of my projects have worked since. I have rolled everything that I can think of back.
- the user you are executing the IDE with has sufficient rights to that folder, i.e. right-click on the project folder -> Properties -> Security -> click on your User -> Edit -> Give all rights
- you might want to delete
.piolibdeps
and see what happens.- you maybe want to re-initilaize the project using
pio init
in the project’s directory.
I re-checked and admin and myself all have full rights.(As far as I can tell)
I deleted ‘.piolibdeps’ without any change to the problem
But,
Something interesting…
When I tried to run pio inti in the project directory I got the following error. I don’t know if it means anything…
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
. : File C:\Users\johnk\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded
because running scripts is disabled on this system. For more information, see about_Execution_Policies
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ . 'C:\Users\johnk\Documents\WindowsPowerShell\Microsoft.PowerShell_pr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Users\johnk\Documents\PlatformIO\Projects\oled_lab> pio init
Fatal error in launcher: Unable to create process using '"'