ESP32Partitions
ESP32Partitions copied to clipboard
esp-partition.py does not execute with python 3 or 3.7
Error message:(when using python 3 or 3.7)
File "esp-partition.py", line 498
buff = sorted(self.ui_map.iteritems(), key=lambda (k, v): (v, k))
^
SyntaxError: invalid syntax
It only compiles on python 2.7.
My system has default python compiler set to 3.7. Is there a way that I can specifically tell arduino IDE to use python 2.7?
My system specs: OS: Manjaro Linux Kernel: 4.14.101
I think it's about time we re-write this to support python 3.7 as well.