Closed 100ideas closed 1 year ago
this issue raises a problem that may occur on some OSX systems with vestigial python
/python3
installs. It would be nice if the jar
just worked out-of-the-box, but hopefully this issue solves the problem of any hypothetical future users who encounter this edge case vs. trying to solve it in jar
.
ESPixelStick Firmware Version 4.0-beta4
Hardware Version v3
Binary release or compiled yourself? release
Operating System (and version) osx 12.6.5 - python managed by homebrew
Web Browser (and version) n/a
Access Point n/a
Describe the bug when running
java -jar ESPSFlashTool.jar
the flash tool may fail because it tries to run python scripts by calling the python binary with 'python ...'. Makes sense, but on some systems, like mine, system python (which is out of date, thanks apple) is upgraded by homebrew package manager for packages that depend on it.This issue is just for posterity, not sure that anything needs to be fixed (anyone who has same problem can hopefully find this issue discussion). So on my system, when I naively ran the flash update jar, it would fail because
python
isn't on the path anymore for some reason. Insteadpython3
is on the path for the homebrew installed python.the fix was to symlink
python -> python3
in the homebrew bin directory. Just fyi.