I was compiling code for an Arduino Uno R3 board and everything was working fine. Suddenly, I started getting this error. I uninstalled the Arduino IDE and Python, deleted all related files, and then reinstalled both. However, the error still persists. Does anyone know how to fix this error? I would really appreciate your help.
FQBN: arduino:renesas_uno:unor4wifi
Using board 'unor4wifi' from platform in folder: C:\Users\hiremar\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.5
Using core 'arduino' from platform in folder: C:\Users\hiremar\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.5
"C:\\Users\\hiremar\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.0.5/tools/python3/python3" -I "C:\\Users\\hiremar\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.0.5/tools/makecorever.py" --git-root "C:\\Users\\hiremar\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.0.5" --version 3.2.0-dev "C:\\Users\\hiremar\\AppData\\Local\\arduino\\sketches\\6C4A38FA417661939115E43271A8EFB1/core/core_version.h"
exec: "C:\\Users\\hiremar\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.0.5/tools/python3/python3": executable file not found in %PATH%
Compilation error: exec: "C:\\Users\\hiremar\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.0.5/tools/python3/python3": executable file not found in %PATH%
Did you mean UNO R3, or UNO R4?
Which board are you actually compiling for?
The UNO R3 and UNO R4 are different boards. The UNO R4 WiFi and Minima have the Renesas MCU onboard, but the Minima has no WiFi. The UNO R3 has a different MCU, the ATmega328P and also no WiFi.
BTW, if you are working with the R4, then you might also want to update that library. The current version is 1.5.2.
I moved your topic to an appropriate forum category @hiremath02.
In the future, when creating a topic please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
IT is not compiling on any board. I compiled on another laptop, and it worked. I am not sure if there are any registry settings gone wrong, or if something is not correct for the Arduino IDE
Hi @hiremath02. It seems that your installation of the "Arduino UNO R4 Boards" platform has been corrupted in some way. The most simple solution will be to make a fresh installation of the platform.
Note that this will replace your current platform installation. That would only be of concern if you have made custom modifications to the files in the platform, under this path on your hard drive:
If you have made modifications to those files, and you don't want to lose that work, make sure to create a backup before performing the following instructions. If you don't know whether you have made modifications, this likely means you have not, as this is something you should definitely remember doing.
Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
Find the "Arduino UNO R4 Boards" entry in the list of boards platforms.
Click the "UPDATE" button at the bottom of the entry.
Wait for the update to finish.
Now try compiling again. This time everything should work as expected.