Error to install esp-idf

w3llschmidt
Posts: 8
Joined: Tue Jan 23, 2018 4:56 pm

Re: Error to install esp-idf

Postby w3llschmidt » Wed Dec 14, 2022 4:25 pm

Same topic here.

Code: Select all

robotron@robotron:~/esp/esp-idf$ ./install.sh esp32
Detecting the Python interpreter
Checking "python3" ...
Checking "python" ...
Checking "python3.7" ...
Python 3.7.3
"python3.7" has been detected
Checking Python compatibility
Installing ESP-IDF tools
Current system platform: linux-amd64
Updating /home/robotron/.espressif/idf-env.json
Selected targets are: esp32
Installing tools: xtensa-esp-elf-gdb, xtensa-esp32-elf, esp32ulp-elf, openocd-esp32, esp-rom-elfs
Installing xtensa-esp-elf-gdb@12.1_20221002
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz
Destination: /home/robotron/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
Done
Extracting /home/robotron/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz to /home/robotron/.espressif/tools/xtensa-esp-elf-gdb/12.1_20221002
Installing xtensa-esp32-elf@esp-2022r1-11.2.0
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz
Destination: /home/robotron/.espressif/dist/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz.tmp
Done
Extracting /home/robotron/.espressif/dist/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz to /home/robotron/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/tarfile.py", line 1695, in xzopen
    import lzma
  File "/usr/local/lib/python3.7/lzma.py", line 27, in <module>
    from _lzma import *
[b]ModuleNotFoundError: No module named '_lzma'[/b]

Who is online

Users browsing this forum: No registered users and 66 guests