idf.py is failing when I checkout ESP-IDF v4.1
Posted: Sat May 23, 2020 6:08 am
Hi there,
I'm in Ubuntu Linux, Python version 3.6.9.
Today I wanted to compile something in the esp32s2beta since I'm waiting that some S2 arrive, so I switched to:
https://github.com/espressif/esp-idf/tree/release/v4.1
update submodules and run pip install requirements again. But I got an error with idf.py that I could not solve:
So I switched back to the tagged version v4.0.1 and everything works again including idf.py
Maybe someone can enlighten me on how to test 4.1 version? Thanks in advance!
I'm in Ubuntu Linux, Python version 3.6.9.
Today I wanted to compile something in the esp32s2beta since I'm waiting that some S2 arrive, so I switched to:
https://github.com/espressif/esp-idf/tree/release/v4.1
update submodules and run pip install requirements again. But I got an error with idf.py that I could not solve:
Code: Select all
martin@martin-L:~/esp$ idf.py
Traceback (most recent call last):
File "/home/martin/esp/esp-idf/tools/idf.py", line 775, in <module>
main()
File "/home/martin/esp/esp-idf/tools/idf.py", line 692, in main
cli = init_cli(verbose_output=checks_output)
File "/home/martin/esp/esp-idf/tools/idf.py", line 650, in init_cli
extensions[name] = import_module(name)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 888, in get_code
File "<frozen importlib._bootstrap_external>", line 455, in _validate_bytecode_header
ImportError: bad magic number in 'debug_ext': b'\x03\xf3\r\n'
Maybe someone can enlighten me on how to test 4.1 version? Thanks in advance!