markqvist / rnodeconfigutil

MIT License
25 stars 11 forks source link

wrong python call #13

Closed aueb closed 2 years ago

aueb commented 2 years ago
[2022-05-15 16:04:05] Firmware extracted
[2022-05-15 16:04:05] Flashing RNode firmware to device on /dev/ttyACM0
/usr/bin/env: »python“: Datei oder Verzeichnis nicht gefunden

during autoinstall

python3 would work, where can i change this?

markqvist commented 2 years ago

This looks like it is coming from the esp32 flashing tool actually. I can probably just include a modified version of esp-tool.

markqvist commented 2 years ago

On further investigation of this, I am not sure what the correct approach here is, since different OSes have different conventions in regards to naming of the python executable. Would you mind sharing what OS this occurred on?

markqvist commented 2 years ago

Just as a workaround for now, you should be able to do:

alias python=python3

markqvist commented 2 years ago

The fix has been implemented in the source of esp-tool, and will be released on PyPi soon.