You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nRF52 Flash Console - Target: nicenano_v2
NIUS ...................... 0% Connecting
NIUS ======>............... 32% Connecting
NIUS ==============>....... 68% Uploading
----------------------------------------------------------------
[nius][fail] generic
reason: Python 3 was not found. UF2 upload mode needs Python for build_uf2.py - install Python 3, set NIUS_UF2_PYTHON_EXE, set NIUS_UF2_VENV, or set NIUS_UF2_CONDA_ENV.
hints:
- Inspect the short trace below for the last useful tool message.
trace:
> Python 3 was not found. UF2 upload mode needs Python for build_uf2.py - install Python 3, set NIUS_UF2_PYTHON_EXE, set NIUS_UF2_VENV, or set NIUS_UF2_CONDA_ENV.
----------------------------------------------------------------
Failed uploading: uploading error: exit status 1
If I open a command window and type "Python" then Python runs up fine.
I dont understand set NIUS_UF2_PYTHON_EXE, set NIUS_UF2_VENV, or set NIUS_UF2_CONDA_ENV
Thanks for reporting this — it was an ArduinoNRF uploader bug.
The Windows wrapper rejected every Python launcher whose path contained WindowsApps, even when that launcher successfully ran Python 3. The fix now validates candidates by executing them, supports Windows App Execution Aliases, py -3, standard per-user installs, and Conda, and ignores invalid overrides before trying the remaining candidates.
Verified with:
PowerShell syntax parsing
normal Python 3 discovery
a working launcher under a WindowsApps path
fallback from an invalid explicit Python path
end-to-end Intel HEX to UF2 conversion
Fixed on main in 8d5eaa1. If Arduino IDE was already open when Python was installed, restart it once so it inherits the updated environment.
Activity
dunknowcoding commentedon Jul 28, 2026
Thanks for reporting this — it was an ArduinoNRF uploader bug.
The Windows wrapper rejected every Python launcher whose path contained
WindowsApps, even when that launcher successfully ran Python 3. The fix now validates candidates by executing them, supports Windows App Execution Aliases,py -3, standard per-user installs, and Conda, and ignores invalid overrides before trying the remaining candidates.Verified with:
WindowsAppspathFixed on
mainin 8d5eaa1. If Arduino IDE was already open when Python was installed, restart it once so it inherits the updated environment.