installing ESD-IDF on windows 10

TomasBD
Posts: 2
Joined: Thu Jun 25, 2020 9:34 pm

installing ESD-IDF on windows 10

Postby TomasBD » Wed Sep 16, 2020 7:34 am

Hi. Imtrying to install and run ESP-IDF on my Wondows machine.
I have followed this guide https://www.youtube.com/watch?v=q0Kkl9qLwr0&t=301s

But when i try to run comand idf.py biul i got an error, you can follow my flow bellow.
any ide wath to do ??? / Tomas


C:\ESP32\esp-idf>cd C:\ESP32\esp-idf\examples\get-started\hello_world

C:\ESP32\esp-idf\examples\get-started\hello_world>idf.py biuld
The following Python requirements are not satisfied:
gdbgui>=0.13.2.0
To install the missing packages, please run "C:\ESP32\esp-idf\install.bat"
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf4.3_py3.8_env
Python interpreter used: C:\Espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe

ESP-IDF v4.3-dev-907-g6c17e3a64

C:\ESP32\esp-idf\examples\get-started\hello_world>


C:\ESP32\esp-idf>install
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util
Skipping xtensa-esp32-elf@esp-2020r2-8.2.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2020r2-8.2.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping cmake@3.16.4 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed)
Skipping ninja@1.10.0 (already installed)
Skipping idf-exe@1.0.1 (already installed)
Skipping ccache@3.7 (already installed)
Skipping dfu-util@0.9 (already installed)
Setting up Python environment
Installing Python packages from C:\ESP32\esp-idf\requirements.txt
Processing c:\esp32\esp-idf\tools\kconfig_new\esp-windows-curses
Requirement already satisfied: setuptools>=21 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 4)) (49.6.0)
Requirement already satisfied: click>=5.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 8)) (7.1.2)
Requirement already satisfied: pyserial>=3.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 9)) (3.4)
Requirement already satisfied: future>=0.15.2 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 10)) (0.18.2)
Requirement already satisfied: cryptography>=2.1.4 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 11)) (3.1)
Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 12)) (2.3.1)
Requirement already satisfied: pyelftools>=0.22 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 13)) (0.26)
Requirement already satisfied: gdbgui>=0.13.2.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.14.0.0)
Requirement already satisfied: pygdbmi<=0.9.0.2 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 15)) (0.9.0.2)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 17)) (1.5.4)
Requirement already satisfied: bitstring>=3.1.6 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from -r C:\ESP32\esp-idf\requirements.txt (line 18)) (3.1.7)
Requirement already satisfied: windows-curses in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from esp-windows-curses==0.1->-r C:\ESP32\esp-idf\requirements.txt (line 24)) (2.1.0)
Requirement already satisfied: six>=1.4.1 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from cryptography>=2.1.4->-r C:\ESP32\esp-idf\requirements.txt (line 11)) (1.15.0)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from cryptography>=2.1.4->-r C:\ESP32\esp-idf\requirements.txt (line 11)) (1.14.2)
Requirement already satisfied: Flask<1.0,>=0.12.2 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.12.5)
Requirement already satisfied: eventlet<0.26,>=0.25.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.25.2)
Requirement already satisfied: gevent-websocket<0.11,>=0.10.1 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.10.1)
Requirement already satisfied: Flask-SocketIO<3.0,>=2.9 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (2.9.6)
Requirement already satisfied: Pygments<3.0,>=2.2.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (2.7.0)
Requirement already satisfied: Flask-Compress<2.0,>=1.4.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.5.0)
Requirement already satisfied: gevent<2.0,>=1.2.2 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.5.0)
Requirement already satisfied: pycparser in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.1.4->-r C:\ESP32\esp-idf\requirements.txt (line 11)) (2.20)
Requirement already satisfied: Jinja2>=2.4 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (2.11.2)
Requirement already satisfied: Werkzeug<1.0,>=0.7 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.16.1)
Requirement already satisfied: itsdangerous>=0.21 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.1.0)
Requirement already satisfied: monotonic>=1.4 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from eventlet<0.26,>=0.25.0->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.5)
Requirement already satisfied: greenlet>=0.3 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from eventlet<0.26,>=0.25.0->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (0.4.16)
Requirement already satisfied: dnspython>=1.15.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from eventlet<0.26,>=0.25.0->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (2.0.0)
Requirement already satisfied: python-socketio>=1.6.1 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Flask-SocketIO<3.0,>=2.9->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (4.6.0)
Requirement already satisfied: brotli in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Flask-Compress<2.0,>=1.4.0->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.0.9)
Requirement already satisfied: MarkupSafe>=0.23 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from Jinja2>=2.4->Flask<1.0,>=0.12.2->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (1.1.1)
Requirement already satisfied: python-engineio>=3.13.0 in c:\espressif\python_env\idf4.3_py3.8_env\lib\site-packages (from python-socketio>=1.6.1->Flask-SocketIO<3.0,>=2.9->gdbgui>=0.13.2.0->-r C:\ESP32\esp-idf\requirements.txt (line 14)) (3.13.2)
Building wheels for collected packages: esp-windows-curses
Building wheel for esp-windows-curses (setup.py) ... done
Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1175 sha256=7d4046aa5b897f33a51e5959f0ca0684cad11bc38dac324fa32455349c535ae3
Stored in directory: c:\users\bruger\appdata\local\pip\cache\wheels\b4\db\a3\2003084dea23e31bda3a7af70baec5fc51131e6d6e151e45e3
Successfully built esp-windows-curses
Installing collected packages: esp-windows-curses
Attempting uninstall: esp-windows-curses
Found existing installation: esp-windows-curses 0.1
Uninstalling esp-windows-curses-0.1:
Successfully uninstalled esp-windows-curses-0.1
Successfully installed esp-windows-curses-0.1
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the 'C:\Espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe -m pip install --upgrade pip' command.
All done! You can now run:
export.bat
C:\ESP32\esp-idf>export
Setting IDF_PATH: C:\ESP32\esp-idf

Adding ESP-IDF tools to PATH...
No directories added to PATH:

C:\Espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Espressif\tools\idf-exe\1.0.1\;C:\Espressif\tools\ccache\3.7\;C:\Espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Espressif\python_env\idf4.3_py3.8_env\Scripts;C:\Python38-32\;C:\Program Files\Git\cmd\;C:\Python38-32\;C:\Program Files\Git\cmd\;C:\Python38-32\Scripts\;C:\Python38-32\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Espressif\tools\cmake\3.16.4\bin;C:\Espressif\tools\ninja\1.10.0;C:\Espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf;C:\ESP32\esp-idf\tools;C:\Python38-32\Scripts;C:\Python38-32;C:\Users\Bruger\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Bruger\AppData\Local\GitHubDesktop\bin;C:\Users\Bruger\AppData\Local\Microsoft\WindowsApps;C:\Users\Bruger\AppData\Roaming\npm;

Checking if Python packages are up to date...
The following Python requirements are not satisfied:
gdbgui>=0.13.2.0
To install the missing packages, please run "C:\ESP32\esp-idf\install.bat"
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf4.3_py3.8_env
Python interpreter used: C:\Espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe

C:\ESP32\esp-idf>cd C:\ESP32\esp-idf\examples\get-started\hello_world

C:\ESP32\esp-idf\examples\get-started\hello_world>idf.py biuld
The following Python requirements are not satisfied:
gdbgui>=0.13.2.0
To install the missing packages, please run "C:\ESP32\esp-idf\install.bat"
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf4.3_py3.8_env
Python interpreter used: C:\Espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe

ESP-IDF v4.3-dev-907-g6c17e3a64

C:\ESP32\esp-idf\examples\get-started\hello_world>

mikemoy
Posts: 480
Joined: Fri Jan 12, 2018 9:10 pm

Re: installing ESD-IDF on windows 10

Postby mikemoy » Wed Sep 16, 2020 5:02 pm

I have no clue why that guy is manually installing things like that.
All you need to do is run the ESP-IDF Tools Installer. It does everything for you.
https://docs.espressif.com/projects/esp ... -installer

ospfred
Posts: 3
Joined: Thu Sep 17, 2020 1:39 pm

Re: installing ESD-IDF on windows 10

Postby ospfred » Sat Sep 19, 2020 4:49 am

pip install gdbgui==0.13.2.0 pygdbmi==0.9.0.2

(Ref #IDFGH-3882): https://github.com/espressif/esp-idf/issues/5782)

Who is online

Users browsing this forum: Google [Bot] and 30 guests