ESP32Partitions
ESP32Partitions copied to clipboard
Tool fails to launch - Windows 10
Installed the tool, and it fails to launch. Running the .py file in python 3.5 or 3.6 gives output :
C:\Users\marcj>python C:\Users\marcj\Documents\Arduino\tools\ESP32Partitions\tool\esp-partition.py File "C:\Users\marcj\Documents\Arduino\tools\ESP32Partitions\tool\esp-partition.py", line 498 buff = sorted(self.ui_map.iteritems(), key=lambda (k, v): (v, k)) ^ SyntaxError: invalid syntax
I'm sorry i didn't get the notification of this issue on time @MarcJenningsUK
The script was written in Python 2.7, can you please try again with python 2.7 and give me a reply
You can use the link below to download it
https://www.python.org/download/releases/2.7/
Hi, I have the same issue too, it doesn't run on Windows 10, I have python 3.6 installed on my machine.
Hallo, I have the same problem. Tool is not starting. I installed Arduino by using the Windows APP Store, maybe there is an other problem, using UWP?
@MarcJenningsUK & @teoh770 your get the error because you are using python 3.7 on your machine.
Try with python 2.7
Hi
can you solve this for me
@anasabdelrahman Were you trying to run a shell script with Python?
I modified the python script, so it works on Python 2 and Python 3. Just replace the esp-partition.py with this file.
I just have a problem with the sort method. There are 3 lambda inside the sorted function and I am not able to write it for Python2 and 3. I commented them out (so, no sorting on:
- calibrate_ui
- get_data_indices
- get_ota_app_indices ), but you can execute the application now.