Can not install 'framework-spl'

Trying to do my first build ever with PlatformIO using an stm32 board. I am building the code and certain things are being installed etc. seeing as it is my first attempt at compiling…

The following message appears and I cannot continue to build the code:

Looking for the another mirror...
Downloading...
Unpacking...
Warning! Package Mirror: [Error 5] �tkomst nekad
Looking for the another mirror...
Error: Can not install 'framework-spl' with version requirements '~1.10201.0' for your system 'windows_amd64'

I have no clue what this means and haven’t seen it in any of the other troubleshooting messages. Help greatly appreciated.

"Error 5: Access is denied"

Please don’t run PlatformIO using administrative priveledges. Remove %USERPROFILE%/.platformio and start using PlatformIO with normal user account.

I don’t know what you mean by this… I am not running as administrator… Still having the same issue. I simply open the IDE through Atom (which is automatically installed at %userprofile%/.atom), and then this folder appears there regardless of what I do.

  1. Close Atom
  2. Please remove this folder manually %USERPROFILE%/.platformio

I’ve done this. Running from terminal now, not even using atom. I remove the folder but it automatically reappears in the same place every time I type any command with platformio.

It reappears because PlatformIO creates it. It’s OK. Try to remove again and DON’T USE Atom. For exmple, try to build project using terminal. See docs Redirecting...

Does it work?

No, it does not. Here is the terminal view after running platformio run -t clean from D: drive in a folder containing the .ini file.

PlatformManager: Installing ststm32
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
ststm32 @ 1.4.0 has been successfully installed!
The platform 'ststm32' has been successfully installed!
The rest of packages will be installed automatically depending on your build environment.
PackageManager: Installing toolchain-gccarmnoneeabi @ >=1.40803.0,<1.40805.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Error: Can not install 'toolchain-gccarmnoneeabi' with version requirements '>=1.40803.0,<1.40805.0' for your system 'windows_amd64'

Is there a solution to this or not?

You have a problem with permission in your system. Try manually set up other directpry for PlatformIO Home. See Redirecting...

Default directory moved to D: drive. Error persists, but only when trying to upload code. Build works ok now.

PackageManager: Installing tool-stm32duino @ ~1.0.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Warning! Package Mirror: [Error 5] ┼tkomst nekad
Looking for the another mirror...
Error: Can not install 'tool-stm32duino' with version requirements '~1.0.0' for your system 'windows_amd64'