ESP-IDF の開発環境を構築しようとして"Hello world"でつまずきました。
今までArduinoIDEを使っていた状態からESP-IDFを立ち上げることにし、youtubeの参考動画 リンク内容 をもとになんとかゴールの一歩手前まで来たのですが "Hello world" の実行がうまくいきません。
次のようなエラーメッセージが出てしまいます。
Cmd
1C:\ESP32\esp-idf\examples\get-started\hello_world>idf.py build 2Checking Python dependencies... 3The following Python requirements are not satisfied: 4file://${IDF_PATH}/tools/kconfig_new/esp-windows-curses; sys_platform == 'win32' 5Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages. 6Alternatively, you can run "C:\Python38\python.exe -m pip install --user -r C:\ESP32\esp-idf\requirements.txt" for resolving the issue.
ここで次の動画の投稿者コメントに従ってpythonのコマンドを実行しました。
Note: If you are getting requirements error, run this command:
python -m pip install --user -r %IDF_PATH%/requirements.txt
Dont forget to upgrade your pip
コマンドを実行した結果は次の通りです。
Cmd
1C:\Users\kimura > python - m pip install --user - r % IDF_PATH % / requirements.txt 2Processing c : \esp32\esp - idf\tools\kconfig_new\esp - windows - curses 3Requirement already satisfied : setuptools >= 21 in c : \python38\lib\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 4)) (41.2.0) 4Requirement already satisfied : click >= 5.0 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 8)) (7.1.2) 5Requirement already satisfied : pyserial >= 3.0 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 9)) (3.4) 6Requirement already satisfied : future >= 0.15.2 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 10)) (0.18.2) 7Requirement already satisfied : cryptography >= 2.1.4 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 11)) (2.9.2) 8Requirement already satisfied : pyparsing < 2.4.0, >= 2.0.3 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 12)) (2.3.1) 9 Requirement already satisfied : pyelftools >= 0.22 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 13)) (0.26) 10 Requirement already satisfied : gdbgui >= 0.13.2.0 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 14)) (0.13.2.0) 11 Requirement already satisfied : pygdbmi <= 0.9.0.2 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 15)) (0.9.0.2) 12 Requirement already satisfied : reedsolo == 1.5.3 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 17)) (1.5.3) 13 Requirement already satisfied : bitstring >= 3.1.6 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from - r C : \ESP32\esp - idf / requirements.txt(line 18)) (3.1.7) 14 Requirement already satisfied : windows - curses in c : \users\kimura\appdata\roaming\python\python38\site - packages(from esp - windows - curses == 0.1-> - r C : \ESP32\esp - idf / requirements.txt(line 24)) (2.1.0) 15 Requirement already satisfied : cffi != 1.11.3, >= 1.8 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from cryptography >= 2.1.4-> - r C : \ESP32\esp - idf / requirements.txt(line 11)) (1.14.0) 16 Requirement already satisfied : six >= 1.4.1 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from cryptography >= 2.1.4-> - r C : \ESP32\esp - idf / requirements.txt(line 11)) (1.15.0) 17 Requirement already satisfied : Flask - Compress < 2.0, >= 1.4.0 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (1.5.0) 18 Requirement already satisfied : Pygments < 3.0, >= 2.2.0 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (2.6.1) 19 Requirement already satisfied : Flask < 1.0, >= 0.12.2 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (0.12.5) 20 Requirement already satisfied : Flask - SocketIO < 3.0, >= 2.9 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (2.9.6) 21 Requirement already satisfied : gevent < 2.0, >= 1.2.2 in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (1.5.0) 22 Requirement already satisfied : pycparser in c : \users\kimura\appdata\roaming\python\python38\site - packages(from cffi != 1.11.3, >= 1.8->cryptography >= 2.1.4-> - r C : \ESP32\esp - idf / requirements.txt(line 11)) (2.20) 23 Requirement already satisfied : brotli in c : \users\kimura\appdata\roaming\python\python38\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.7) 24 Requirement already satisfied : Jinja2 >= 2.4 in c : \users\kimura\appdata\roaming\python\python38\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) 25 Requirement already satisfied : itsdangerous >= 0.21 in c : \users\kimura\appdata\roaming\python\python38\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) 26 Requirement already satisfied : Werkzeug < 1.0, >= 0.7 in c : \users\kimura\appdata\roaming\python\python38\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) 27 Requirement already satisfied : python - socketio >= 1.6.1 in c : \users\kimura\appdata\roaming\python\python38\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) 28 Requirement already satisfied : greenlet >= 0.4.14; platform_python_implementation == "CPython" in c : \users\kimura\appdata\roaming\python\python38\site - packages(from gevent < 2.0, >= 1.2.2->gdbgui >= 0.13.2.0-> - r C : \ESP32\esp - idf / requirements.txt(line 14)) (0.4.16) 29 Requirement already satisfied : MarkupSafe >= 0.23 in c : \users\kimura\appdata\roaming\python\python38\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) 30 Requirement already satisfied : python - engineio >= 3.13.0 in c : \users\kimura\appdata\roaming\python\python38\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.0) 31 Building wheels for collected packages : esp - windows - curses 32 Building wheel for esp - windows - curses(setup.py) ... done 33 Created wheel for esp - windows - curses : filename = esp_windows_curses - 0.1 - py3 - none - any.whl size = 1175 sha256 = 6897aeb9b77e460df8c4b0377b56a551829d12f6c62869ea0059b4cd3d4d9297 34 Stored in directory : c:\users\kimura\appdata\local\pip\cache\wheels\b4\db\a3\2003084dea23e31bda3a7af70baec5fc51131e6d6e151e45e3 35 Successfully built esp - windows - curses 36 Installing collected packages : esp - windows - curses 37 Attempting uninstall : esp - windows - curses 38 Found existing installation : esp - windows - curses 0.1 39 Uninstalling esp - windows - curses - 0.1 : 40 Successfully uninstalled esp - windows - curses - 0.1 41 Successfully installed esp - windows - curses - 0.1
#結果
"Successfully uninstalled" というメッセージが現れ、問題が解消したかのような様子なのですが、結局なにも変化はなく問題解決には至りませんでした。
ESP-IDFについてお詳しい方がおりましたら、どのように解決できるか教えて戴けると大変有難いです。
どうぞよろしくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/07/06 13:31