Failed to install platform

Failed to install platform: arduino:sam.
Error: 13 INTERNAL: Cannot install tool arduino:arm-none-eabi-gcc@4.8.3-2014q1: moving extracted archive to destination dir: rename C:\Users\212529935\AppData\Local\Arduino15\tmp\package-092823884\gcc-arm-none-eabi-4.8.3-2014q1 C:\Users\212529935\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1: Access is denied.

I'm using french WIN10 version so the "Users" is "Utilisateurs" it maybe a problem??

I'm using Arduino IDE 2.0 and I'm verrrrrrrrrrry new with this.

Thanks for your help

Hi i think its is because you did not had run the installer in administrator mode so the access got denied but I’m not an hundred percent sure
Have a nice day

1 Like

Your topic has been moved to the dedicated IDE2.0 section of the forum. Be aware that IDE2.0 is still in development. If you want a stable release, 1.8.19 might be a better choice.

1 Like

Hi @myriko. Thanks for giving the Arduino IDE 2.0.0 release candidate a try.

This issue is being tracked by the Arduino IDE developers here:

(Arduino CLI is used by the Arduino IDE 2.x Boards Manager for installing the platforms)

I have also encountered this error, but only intermittently, so I haven't had much progress in investigating it.


I usually blame this type of error on interference by the "on access scanning" behavior of antivirus software. You could do an experiment to determine whether it is the cause of the error for you by :warning: TEMPORARILY :warning: disabling your antivirus just long enough to attempt the installation to see if the problem goes away, then turn the antivirus back on.

If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.

:warning: Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.

2 Likes

Thanks for the answer, but impossible for me to turn off antivirus (compagny rules).
I simply install the previus version of IDE and it work.

For me turning off virusscanning for a minute solved the problem when upgrading to new version.

1 Like

Turning off antivirus worked for me but I am afraid whether i have to do it for all libraries ?!! if yes, it will be a headche. :upside_down_face:

It is not a normal circumstance for the antivirus to interfere with this process. Although it is still in "release candidate" status, a large number of people are now using Arduino IDE 2.x, yet only a small number have reported experiencing this problem with what is a core functionality of the Arduino IDE.

My recommendation is to check your antivirus configuration settings to see whether they can be adjusted to exclude the relevant files/folders/processes so that it will not interfere with the expected operation of the Arduino IDE.

Turning off Firewall and Antivirus on Windows 10 during the initial update worked for me as well.
I'm working on a personal PC so atleast that is an option :partying_face:

I had to install the last 1.8 version in order to get the libraries to download correctly. I couldn't get 2.0 to work.

Just a reminder, I've added a small patch for this kind of issue, and it's already included in latest Arduino IDE 2.0.2 :wink:
Detail here: Arduino IDE 2.0.2 is now available

1 Like

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