Trying to setup ESPTools with latest build to support ESP32S2
Posted: Sun Nov 22, 2020 10:48 am
Hi,
I am trying to run the esp-rainmaker examples on a esp32s2 soala dev kit and running into lots of issues getting setup.
I got all the tools installed and found 4.1 doesn't support esp32s2 only esp32s2beta. So following the instructions from https://docs.espressif.com/projects/esp ... et-esp-idf
I have downloaded and installed all the software however when i run install.bat from the master branch repo it fails because i don't have zlib.
Error i get below:
C:\Users\mpwir\esp\esp-idf>install.bat
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
WARNING: directory for tool xtensa-esp32-elf version esp-2020r3-8.4.0 is present, but tool was not found
Installing xtensa-esp32-elf@esp-2020r3-8.4.0
file xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip is already downloaded
WARNING: destination path already exists, removing
Extracting C:\Users\mpwir\.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\mpwir\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0
Traceback (most recent call last):
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1589, in <module>
main(sys.argv[1:])
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1585, in main
action_func(args)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1279, in action_install
tool_obj.install(tool_version)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 711, in install
unpack(archive_path, dest_dir)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 303, in unpack
archive_obj.extractall(destination)
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1616, in extractall
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1669, in _extract_member
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1540, in open
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 797, in __init__
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 702, in _get_decompressor
AttributeError: 'NoneType' object has no attribute 'decompressobj'
Could this be an issue with python 3.8?
I am trying to run the esp-rainmaker examples on a esp32s2 soala dev kit and running into lots of issues getting setup.
I got all the tools installed and found 4.1 doesn't support esp32s2 only esp32s2beta. So following the instructions from https://docs.espressif.com/projects/esp ... et-esp-idf
I have downloaded and installed all the software however when i run install.bat from the master branch repo it fails because i don't have zlib.
Error i get below:
C:\Users\mpwir\esp\esp-idf>install.bat
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
WARNING: directory for tool xtensa-esp32-elf version esp-2020r3-8.4.0 is present, but tool was not found
Installing xtensa-esp32-elf@esp-2020r3-8.4.0
file xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip is already downloaded
WARNING: destination path already exists, removing
Extracting C:\Users\mpwir\.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\mpwir\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0
Traceback (most recent call last):
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1589, in <module>
main(sys.argv[1:])
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1585, in main
action_func(args)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 1279, in action_install
tool_obj.install(tool_version)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 711, in install
unpack(archive_path, dest_dir)
File "C:\Users\mpwir\esp\esp-idf\tools\idf_tools.py", line 303, in unpack
archive_obj.extractall(destination)
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1616, in extractall
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1669, in _extract_member
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 1540, in open
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 797, in __init__
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\zipfile.py", line 702, in _get_decompressor
AttributeError: 'NoneType' object has no attribute 'decompressobj'
Could this be an issue with python 3.8?