That’s not what the error says. It says ‘you tried to run the program /home/asus/.local/bin/platformio but I can’t, because that file isn’t there!’ Are you sure that’s the right path? Is there a platformio in /home/asus/.local/bin?
Does your Netbean IDE modify PATH variables in any way? Especially regarding the Python interpreter? I’ve had the problem with Eclipse that it “failed to launch process platformio” but it had old modified Python paths in the project configuration.
Product Version: NetBeans IDE 8.2 (Build 201609270201)
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 5.4.17-1-MANJARO running on amd64; UTF-8; en_AU (nb)
User directory: /home/pfeerick/.netbeans/8.2
Cache directory: /home/pfeerick/.cache/netbeans/8.2
/usr/bin/platformio -f -c netbeans run
Processing nucleo_f411re (platform: ststm32; board: nucleo_f411re; framework: mbed)
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: ST STM32 6.0.0 > ST Nucleo F411RE
HARDWARE: STM32F411RET6 100MHz, 128KB RAM, 512KB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, jlink)
- framework-mbed 5.51401.200110 (5.14.1)
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Collecting mbed sources...
Generating LD script .pio/build/nucleo_f411re/STM32F411XE.ld.link_script.ld
Checking size .pio/build/nucleo_f411re/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [ ] 2.6% (used 3464 bytes from 131072 bytes)
Flash: [= ] 8.2% (used 43068 bytes from 524288 bytes)
========================= [SUCCESS] Took 32.61 seconds =========================
BUILD SUCCESSFUL (total time: 33s)
Check the rest of my post above… I added more to it, so you may not have seen it if you only saw a email notification. Specifically, how did you instlal the PlatformIO CLI, and what does which platformio return when run on both terminals?
Regardless, it looks like something is very wrong with the netbeans terminal path, as it’s dropping a lot of stuff, but I can’t see any settings or such that would control/affect that, so hopefully someone familiar with NetBeans knows what could be causing that.