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?
Trying to setup ESPTools with latest build to support ESP32S2
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Trying to setup ESPTools with latest build to support ESP32S2
Hi markirwin,
this is very weird and a haven't seen an error like this. Have you installed your Python from Windows Store? If yes then please download one from python.org. The interpreter from Windows Store have many known issues. I recommend to install version 3.7 or 3.8 and not 3.9.
I'm sorry for the inconvenience. We are working right now on a new improved version of the installer.
this is very weird and a haven't seen an error like this. Have you installed your Python from Windows Store? If yes then please download one from python.org. The interpreter from Windows Store have many known issues. I recommend to install version 3.7 or 3.8 and not 3.9.
I'm sorry for the inconvenience. We are working right now on a new improved version of the installer.
Re: Trying to setup ESPTools with latest build to support ESP32S2
finally figured it out, i had python 2.7, 3.8 installed so removed them both and started again.. but could still run python. at cmd but not pip, i found I have another dev environment on the system path for a FOMU dev board and there tools has python.
Made some edits then reinstalled Python 3.7 and now it builds.
Made some edits then reinstalled Python 3.7 and now it builds.
Who is online
Users browsing this forum: snutw_ and 121 guests