Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python - dependencies conflict with esp-idf-kconfig #249

Open
FssAy opened this issue Nov 29, 2024 · 0 comments
Open

Python - dependencies conflict with esp-idf-kconfig #249

FssAy opened this issue Nov 29, 2024 · 0 comments

Comments

@FssAy
Copy link

FssAy commented Nov 29, 2024

Bug description

I am getting a python error referring to a dependency conflict on building the template.

To Reproduce

Steps to reproduce the behavior:

  1. Follow instructions from the book.
  2. Run cargo build

Expected behavior

No errors after following all the installation steps from the book and running cargo build on an unmodified std template.

Screenshots

Environment

  • OS: Windows 10
  • How did you install the environment: espup 0.13.0

Additional context

Full console log:

D:\v\va>cargo build
    Updating crates.io index
     Locking 168 packages to latest compatible versions
      Adding bindgen v0.69.5 (latest: v0.70.1)
      Adding bitflags v1.3.2 (latest: v2.6.0)
      Adding cargo_metadata v0.18.1 (latest: v0.19.0)
      Adding cc v1.1.30 (latest: v1.2.2)
      Adding embedded-hal v0.2.7 (latest: v1.0.0)
      Adding globwalk v0.8.1 (latest: v0.9.1)
      Adding heck v0.4.1 (latest: v0.5.0)
      Adding itertools v0.12.1 (latest: v0.13.0)
      Adding linux-raw-sys v0.4.14 (latest: v0.6.5)
      Adding nb v0.1.3 (latest: v1.1.0)
      Adding remove_dir_all v0.8.4 (latest: v1.0.0)
      Adding rustc-hash v1.1.0 (latest: v2.0.0)
      Adding strum v0.24.1 (latest: v0.26.3)
      Adding strum v0.25.0 (latest: v0.26.3)
      Adding strum_macros v0.24.3 (latest: v0.26.4)
      Adding strum_macros v0.25.3 (latest: v0.26.4)
      Adding syn v1.0.109 (latest: v2.0.89)
      Adding thiserror v1.0.69 (latest: v2.0.3)
      Adding thiserror-impl v1.0.69 (latest: v2.0.3)
      Adding which v4.4.2 (latest: v7.0.0)
      Adding windows-core v0.52.0 (latest: v0.58.0)
      Adding windows-sys v0.52.0 (latest: v0.59.0)
  Downloaded defmt v0.3.10
  Downloaded defmt-macros v0.4.0
  Downloaded 2 crates (45.5 KB) in 0.32s
   Compiling compiler_builtins v0.1.123
   Compiling core v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\core)
   Compiling libc v0.2.158
   Compiling proc-macro2 v1.0.92
   Compiling memchr v2.5.0
   Compiling unicode-ident v1.0.14
   Compiling std v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\std)
   Compiling windows_x86_64_msvc v0.52.6
   Compiling memchr v2.7.4
   Compiling quote v1.0.37
   Compiling syn v2.0.89
   Compiling windows-targets v0.52.6
   Compiling windows-sys v0.59.0
   Compiling serde v1.0.215
   Compiling windows-sys v0.52.0
   Compiling aho-corasick v1.1.3
   Compiling regex-syntax v0.8.5
   Compiling crossbeam-utils v0.8.20
   Compiling cfg-if v1.0.0
   Compiling glob v0.3.1
   Compiling clang-sys v1.8.1
   Compiling regex-automata v0.4.9
   Compiling serde_derive v1.0.215
   Compiling rustc-std-workspace-core v1.99.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\rustc-std-workspace-core)
   Compiling alloc v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\alloc)
   Compiling adler v1.0.2
   Compiling unwind v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\unwind)
   Compiling rustc-demangle v0.1.24
   Compiling winapi-util v0.1.9
   Compiling prettyplease v0.2.25
   Compiling stable_deref_trait v1.2.0
   Compiling syn v1.0.109
   Compiling libc v0.2.167
   Compiling rustc-std-workspace-alloc v1.99.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\rustc-std-workspace-alloc)
   Compiling gimli v0.29.0
   Compiling object v0.36.2
   Compiling hashbrown v0.14.5
   Compiling std_detect v0.1.5 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\stdarch\crates\std_detect)
   Compiling miniz_oxide v0.7.4
   Compiling panic_abort v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\panic_abort)
   Compiling panic_unwind v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\panic_unwind)
   Compiling rustix v0.38.41
   Compiling log v0.4.22
   Compiling addr2line v0.22.0
   Compiling once_cell v1.20.2
   Compiling rustversion v1.0.18
   Compiling as-slice v0.2.1
   Compiling same-file v1.0.6
   Compiling crossbeam-epoch v0.9.18
   Compiling errno v0.3.10
   Compiling bstr v1.11.0
   Compiling serde_json v1.0.133
   Compiling thiserror v1.0.69
   Compiling bitflags v2.6.0
   Compiling minimal-lexical v0.2.1
   Compiling shlex v1.3.0
   Compiling either v1.13.0
   Compiling nom v7.1.3
   Compiling globset v0.4.15
   Compiling crossbeam-deque v0.8.5
   Compiling walkdir v2.5.0
   Compiling aligned v0.4.2
   Compiling thiserror-impl v1.0.69
   Compiling cvt v0.1.2
   Compiling home v0.5.9
   Compiling libloading v0.8.5
   Compiling ryu v1.0.18
   Compiling itoa v1.0.14
   Compiling bindgen v0.69.5
   Compiling heck v0.4.1
   Compiling anyhow v1.0.93
   Compiling proc_macro v0.0.0 (C:\Users\Dmitrij\.rustup\toolchains\esp\lib\rustlib\src\rust\library\proc_macro)
   Compiling strum_macros v0.24.3
   Compiling which v4.4.2
   Compiling fs_at v0.2.1
   Compiling cexpr v0.6.0
   Compiling ignore v0.4.23
   Compiling itertools v0.12.1
   Compiling cc v1.1.30
   Compiling regex v1.11.1
   Compiling normpath v1.3.0
   Compiling lazy_static v1.5.0
   Compiling fastrand v2.2.0
   Compiling rustc-hash v1.1.0
   Compiling lazycell v1.3.0
   Compiling bitflags v1.3.2
   Compiling globwalk v0.8.1
   Compiling tempfile v3.14.0
   Compiling remove_dir_all v0.8.4
   Compiling cmake v0.1.52
   Compiling strum v0.24.1
   Compiling filetime v0.2.25
   Compiling semver v1.0.23
   Compiling camino v1.1.9
   Compiling cargo-platform v0.1.9
   Compiling envy v0.4.2
   Compiling cargo_metadata v0.18.1
   Compiling fnv v1.0.7
   Compiling ident_case v1.0.1
   Compiling autocfg v1.4.0
   Compiling embuild v0.32.0
   Compiling num-traits v0.2.19
   Compiling darling_core v0.20.10
   Compiling byteorder v1.5.0
   Compiling nb v1.1.0
   Compiling heapless v0.8.0
   Compiling embedded-io-async v0.6.1
   Compiling hash32 v0.3.1
   Compiling embedded-io v0.6.1
   Compiling unicode-xid v0.2.6
   Compiling embassy-time-driver v0.1.0
   Compiling darling_macro v0.20.10
   Compiling const_format_proc_macros v0.2.33
   Compiling darling v0.20.10
   Compiling enumset_derive v0.10.0
   Compiling chrono v0.4.38
   Compiling pin-utils v0.1.0
   Compiling embedded-hal v1.0.0
   Compiling pin-project-lite v0.2.15
   Compiling futures-task v0.3.31
   Compiling futures-core v0.3.31
   Compiling embedded-hal-async v1.0.0
   Compiling embassy-sync v0.6.1
   Compiling esp-idf-sys v0.35.0
   Compiling esp-idf-hal v0.44.1
   Compiling version_check v0.9.5
   Compiling build-time v0.1.3
   Compiling uncased v0.9.10
   Compiling esp-idf-svc v0.49.1
   Compiling futures-util v0.3.31
   Compiling enumset v1.1.5
   Compiling const_format v0.2.33
   Compiling nb v0.1.3
   Compiling void v1.0.2
   Compiling futures-sink v0.3.31
   Compiling critical-section v1.2.0
   Compiling num_enum_derive v0.7.3
   Compiling litrs v0.4.1
   Compiling document-features v0.2.10
   Compiling embedded-hal v0.2.7
   Compiling num_enum v0.7.3
   Compiling embedded-hal-nb v1.0.0
   Compiling embedded-can v0.4.1
   Compiling atomic-waker v1.1.2
   Compiling va v0.1.0 (D:\v\va)
   Compiling embassy-futures v0.1.1
   Compiling embedded-svc v0.28.0
error: failed to run custom build command for `esp-idf-sys v0.35.0`

Caused by:
  process didn't exit successfully: `D:\v\va\target\debug\build\esp-idf-sys-090d8de01e1db8f6\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=EXTRA-COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENT_MANAGER
  Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out '24c60e243580c7868f4334a1ba3123481fe1aa48'
  Submodule path 'components/bt/controller/lib_esp32': checked out '43ecd22ec6b5b484709693ae8e86478a7f130f17'
  Submodule path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib': checked out 'b9a902c3551ef4a2032b6662a4cbb018125ddfda'
  Submodule path 'components/bt/controller/lib_esp32c3_family': checked out '76ed4114ee7d081435a3c65793b4c8eb1dfaf199'
  Submodule path 'components/bt/controller/lib_esp32c6/esp32c6-bt-lib': checked out '0af472c6f95858e638565dad19a79fe47de1fff2'
  Submodule path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib': checked out '70612d08d1ff94dfb5da99d6a68aa4032cd63276'
  Submodule path 'components/bt/esp_ble_mesh/lib/lib': checked out '4934ca903807dd74f7f808dadcd9a478e18fc6c3'
  Submodule path 'components/bt/host/nimble/nimble': checked out 'a2acac3e14bb7810783ac5089ccf8229a2dd2f70'
  Submodule path 'components/cmock/CMock': checked out 'eeecc49ce8af123cf8ad40efdb9673e37b56230f'
  Submodule path 'components/cmock/CMock/vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
  Submodule path 'components/cmock/CMock/vendor/unity': checked out 'cf949f45ca6d172a177b00da21310607b97bc7a7'
  Submodule path 'components/esp_coex/lib': checked out '2717868407a01878a49d19794538b6da120597ae'
  Submodule path 'components/esp_phy/lib': checked out '792ba5917ee8191e7264143e69f9e6f8c1c0eacc'
  Submodule path 'components/esp_wifi/lib': checked out 'd9a4b032efee9b50914cf38a6c1f41049811fa1e'
  Submodule path 'components/heap/tlsf': checked out 'd2e28f872472ffc6a704faae65ddee1f24e2dfba'
  Submodule path 'components/json/cJSON': checked out '87d8f0961a01bf09bef98ff89bae9fdec42181ee'
  Submodule path 'components/lwip/lwip': checked out 'f79221431fa9042b3572d271d687de66da7560c4'
  Submodule path 'components/mbedtls/mbedtls': checked out '72aa687352a469044cbb946f3fdb261430e41ce1'
  Submodule path 'components/mqtt/esp-mqtt': checked out 'aa6f889fb4f6f743b3a550aa587713aabbdca1fc'
  Submodule path 'components/openthread/lib': checked out 'a0f6a77960b36ebe357cc4bee280034f8c7120f1'
  Submodule path 'components/openthread/openthread': checked out 'be7d36e4ff9cf7df6dfce54e58a31163c87b93f7'
  Submodule path 'components/protobuf-c/protobuf-c': checked out 'abc67a11c6db271bedbb9f58be85d6f4e2ea8389'
  Submodule path 'components/spiffs/spiffs': checked out '0dbb3f71c5f6fae3747a9d935372773762baf852'
  Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25'
  Creating a new Python environment in D:\v\va\.embuild\espressif\python_env\idf5.2_py3.13_env
  Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.2.txt
  Destination: D:\v\va\.embuild\espressif\espidf.constraints.v5.2.txt.tmp
Done
  Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
  Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment
  Collecting setuptools (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 3))
    Using cached https://dl.espressif.com/pypi/setuptools/setuptools-71.0.0-py3-none-any.whl (908 kB)
  Collecting packaging (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 4))
    Using cached https://dl.espressif.com/pypi/packaging/packaging-24.2-py3-none-any.whl (65 kB)
  Collecting click (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 7))    Using cached https://dl.espressif.com/pypi/click/click-8.1.7-py3-none-any.whl (97 kB)
  Collecting pyserial (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 8))
    Using cached https://dl.espressif.com/pypi/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
  Collecting cryptography (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 9))
    Using cached https://dl.espressif.com/pypi/cryptography/cryptography-41.0.7-cp37-abi3-win_amd64.whl (2.7 MB)
  Collecting pyparsing (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 10))
    Using cached pyparsing-3.2.0-py3-none-any.whl.metadata (5.0 kB)
  Collecting pyelftools (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 11))
    Using cached https://dl.espressif.com/pypi/pyelftools/pyelftools-0.31-py3-none-any.whl (180 kB)
  Collecting idf-component-manager (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/idf-component-manager/idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
  Collecting esp-coredump (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 13))
    Using cached https://dl.espressif.com/pypi/esp-coredump/esp_coredump-1.12.0-py3-none-any.whl (45 kB)
  Collecting esptool (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 14))
    Using cached https://dl.espressif.com/pypi/esptool/esptool-4.8.1-py3-none-any.whl (534 kB)
  Collecting esp-idf-kconfig (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 15))
    Using cached https://dl.espressif.com/pypi/esp-idf-kconfig/esp_idf_kconfig-1.4.3-py3-none-any.whl (44 kB)
  Collecting esp-idf-monitor (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 16))
    Using cached https://dl.espressif.com/pypi/esp-idf-monitor/esp_idf_monitor-1.5.0-py3-none-any.whl (48 kB)
  Collecting esp-idf-size (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 17))
    Using cached https://dl.espressif.com/pypi/esp-idf-size/esp_idf_size-1.6.1-py3-none-any.whl (81 kB)
  Collecting esp-idf-panic-decoder (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 18))
    Using cached https://dl.espressif.com/pypi/esp-idf-panic-decoder/esp_idf_panic_decoder-1.2.1-py3-none-any.whl (19 kB)
  Collecting pyclang (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 19))
    Using cached https://dl.espressif.com/pypi/pyclang/pyclang-0.5.0-py3-none-any.whl (12 kB)
  Collecting construct (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 20))
    Using cached https://dl.espressif.com/pypi/construct/construct-2.10.70-py3-none-any.whl (63 kB)
  Collecting freertos_gdb (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 23))
    Using cached https://dl.espressif.com/pypi/freertos-gdb/freertos_gdb-1.0.3-py3-none-any.whl (14 kB)
  Collecting colorama (from click->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 7))
    Using cached https://dl.espressif.com/pypi/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
  Collecting cffi>=1.12 (from cryptography->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 9))
    Using cached https://dl.espressif.com/pypi/cffi/cffi-1.17.1-cp313-cp313-win_amd64.whl (182 kB)
  Collecting pyyaml (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/pyyaml/PyYAML-6.0.2-cp313-cp313-win_amd64.whl (156 kB)
  Collecting requests (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/requests/requests-2.32.3-py3-none-any.whl (64 kB)
  Collecting requests-file (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/requests-file/requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
  Collecting requests-toolbelt (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/requests-toolbelt/requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
  Collecting tqdm (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/tqdm/tqdm-4.67.1-py3-none-any.whl (78 kB)
  Collecting jsonref (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/jsonref/jsonref-1.1.0-py3-none-any.whl (9.4 kB)
  Collecting pydantic (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/pydantic/pydantic-2.10.2-py3-none-any.whl (456 kB)
  Collecting pydantic-core (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/pydantic-core/pydantic_core-2.27.1-cp313-none-win_amd64.whl (2.0 MB)
  Collecting pydantic-settings (from idf-component-manager->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 12))
    Using cached https://dl.espressif.com/pypi/pydantic-settings/pydantic_settings-2.6.1-py3-none-any.whl (28 kB)
  Collecting pygdbmi>=0.9.0.2 (from esp-coredump->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 13))
    Using cached https://dl.espressif.com/pypi/pygdbmi/pygdbmi-0.11.0.0-py3-none-any.whl (21 kB)
  Collecting bitstring!=4.2.0,>=3.1.6 (from esptool->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 14))
    Using cached https://dl.espressif.com/pypi/bitstring/bitstring-4.2.3-py3-none-any.whl (71 kB)
  Collecting ecdsa>=0.16.0 (from esptool->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 14))
    Using cached https://dl.espressif.com/pypi/ecdsa/ecdsa-0.19.0-py2.py3-none-any.whl (149 kB)
  Collecting reedsolo<1.8,>=1.5.3 (from esptool->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 14))
    Using cached https://dl.espressif.com/pypi/reedsolo/reedsolo-1.7.0-py3-none-any.whl (32 kB)
  Collecting intelhex (from esptool->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 14))
    Using cached https://dl.espressif.com/pypi/intelhex/intelhex-2.3.0-py2.py3-none-any.whl (50 kB)
  Collecting kconfiglib>=13.7.1 (from esp-idf-kconfig->-r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 15))
    Using cached https://dl.espressif.com/pypi/kconfiglib/kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
  INFO: pip is looking at multiple versions of esp-idf-kconfig to determine which version is compatible with other requirements. This could take a while.
  Collecting esp-idf-kconfig (from -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 15))
    Using cached https://dl.espressif.com/pypi/esp-idf-kconfig/esp_idf_kconfig-1.4.2-py3-none-any.whl (44 kB)

  The conflict is caused by:
      esp-idf-kconfig 1.4.3 depends on windows-curses; platform_system == "Windows"
      esp-idf-kconfig 1.4.2 depends on windows-curses; platform_system == "Windows"

  To fix this you could try to:
  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

  Installing Python packages
   Constraint file: D:\v\va\.embuild\espressif\espidf.constraints.v5.2.txt
   Requirement files:
    - D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: None,
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: None,
      mcu: Some(
          "esp32s3",
      ),
      native: NativeConfig {
          esp_idf_version: Some(
              Tag(
                  "v5.2.2",
              ),
          ),
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: None,
          extra_components: [],
          esp_idf_components: None,
          esp_idf_component_manager: None,
      },
      esp_idf_sys_root_crate: None,
  }
  Using managed esp-idf repository: RemoteSdk { repo_url: None, git_ref: Tag("v5.2.2") }
  Cloning into 'D:\v\va\.embuild\espressif\esp-idf\v5.2.2'...
  Note: switching to '3b8741b172dc951e18509698dee938304bcf1523'.

  You are in 'detached HEAD' state. You can look around, make experimental
  changes and commit them, and you can discard any commits you make in this
  state without impacting any branches by switching back to a branch.

  If you want to create a new branch to retain commits you create, you may
  do so (now or later) by using -c with the switch command. Example:

    git switch -c <new-branch-name>

  Or undo this operation with:

    git switch -

  Turn off this advice by setting config variable advice.detachedHead to false

Updating files: 100% (13130/13130), done.
  Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/bootloader/subproject/components/micro-ecc/micro-ecc'
  Submodule 'components/bt/controller/lib_esp32' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/controller/lib_esp32'
  Submodule 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' (https://github.com/espressif/esp32c2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib'
  Submodule 'components/bt/controller/lib_esp32c3_family' (https://github.com/espressif/esp32c3-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c3_family'
  Submodule 'components/bt/controller/lib_esp32c6/esp32c6-bt-lib' (https://github.com/espressif/esp32c6-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c6/esp32c6-bt-lib'
  Submodule 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' (https://github.com/espressif/esp32h2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib'
  Submodule 'components/bt/esp_ble_mesh/lib/lib' (https://github.com/espressif/esp-ble-mesh-lib.git) registered for path 'components/bt/esp_ble_mesh/lib/lib'
  Submodule 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) registered for path 'components/bt/host/nimble/nimble'
  Submodule 'components/cmock/CMock' (https://github.com/ThrowTheSwitch/CMock.git) registered for path 'components/cmock/CMock'
  Submodule 'components/esp_coex/lib' (https://github.com/espressif/esp-coex-lib.git) registered for path 'components/esp_coex/lib'
  Submodule 'components/esp_phy/lib' (https://github.com/espressif/esp-phy-lib.git) registered for path 'components/esp_phy/lib'
  Submodule 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp_wifi/lib'
  Submodule 'components/heap/tlsf' (https://github.com/espressif/tlsf.git) registered for path 'components/heap/tlsf'
  Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON'
  Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip'
  Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls'
  Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt'
  Submodule 'components/openthread/lib' (https://github.com/espressif/esp-thread-lib.git) registered for path 'components/openthread/lib'
  Submodule 'components/openthread/openthread' (https://github.com/espressif/openthread.git) registered for path 'components/openthread/openthread'
  Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) registered for path 'components/protobuf-c/protobuf-c'
  Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs'
  Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'components/unity/unity'
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bootloader/subproject/components/micro-ecc/micro-ecc'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/controller/lib_esp32'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/controller/lib_esp32c3_family'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/controller/lib_esp32c6/esp32c6-bt-lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/esp_ble_mesh/lib/lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/cmock/CMock'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/bt/host/nimble/nimble'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/esp_coex/lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/heap/tlsf'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/esp_phy/lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/esp_wifi/lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/json/cJSON'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/lwip/lwip'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/mbedtls/mbedtls'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/mqtt/esp-mqtt'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/openthread/lib'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/protobuf-c/protobuf-c'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/spiffs/spiffs'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/openthread/openthread'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/unity/unity'...
  From https://github.com/kmackay/micro-ecc
   * branch            24c60e243580c7868f4334a1ba3123481fe1aa48 -> FETCH_HEAD
  From https://github.com/espressif/esp32-bt-lib
   * branch            43ecd22ec6b5b484709693ae8e86478a7f130f17 -> FETCH_HEAD
  From https://github.com/espressif/esp32c2-bt-lib
   * branch            b9a902c3551ef4a2032b6662a4cbb018125ddfda -> FETCH_HEAD
  From https://github.com/espressif/esp32c3-bt-lib
   * branch            76ed4114ee7d081435a3c65793b4c8eb1dfaf199 -> FETCH_HEAD
  From https://github.com/espressif/esp32c6-bt-lib
   * branch            0af472c6f95858e638565dad19a79fe47de1fff2 -> FETCH_HEAD
  From https://github.com/espressif/esp32h2-bt-lib
   * branch            70612d08d1ff94dfb5da99d6a68aa4032cd63276 -> FETCH_HEAD
  From https://github.com/espressif/esp-ble-mesh-lib
   * branch            4934ca903807dd74f7f808dadcd9a478e18fc6c3 -> FETCH_HEAD
  From https://github.com/espressif/esp-nimble
   * branch            a2acac3e14bb7810783ac5089ccf8229a2dd2f70 -> FETCH_HEAD
  From https://github.com/ThrowTheSwitch/CMock
   * branch            eeecc49ce8af123cf8ad40efdb9673e37b56230f -> FETCH_HEAD
  Submodule 'vendor/c_exception' (https://github.com/throwtheswitch/cexception.git) registered for path 'components/cmock/CMock/vendor/c_exception'
  Submodule 'vendor/unity' (https://github.com/throwtheswitch/unity.git) registered for path 'components/cmock/CMock/vendor/unity'
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/cmock/CMock/vendor/c_exception'...
  Cloning into 'D:/v/va/.embuild/espressif/esp-idf/v5.2.2/components/cmock/CMock/vendor/unity'...
  From https://github.com/throwtheswitch/cexception
   * branch            71b47be7c950f1bf5f7e5303779fa99a16224bb6 -> FETCH_HEAD
  From https://github.com/throwtheswitch/unity
   * branch            cf949f45ca6d172a177b00da21310607b97bc7a7 -> FETCH_HEAD
  From https://github.com/espressif/esp-coex-lib
   * branch            2717868407a01878a49d19794538b6da120597ae -> FETCH_HEAD
  From https://github.com/espressif/esp-phy-lib
   * branch            792ba5917ee8191e7264143e69f9e6f8c1c0eacc -> FETCH_HEAD
  From https://github.com/espressif/esp32-wifi-lib
   * branch            d9a4b032efee9b50914cf38a6c1f41049811fa1e -> FETCH_HEAD
  From https://github.com/espressif/tlsf
   * branch            d2e28f872472ffc6a704faae65ddee1f24e2dfba -> FETCH_HEAD
  From https://github.com/DaveGamble/cJSON
   * branch            87d8f0961a01bf09bef98ff89bae9fdec42181ee -> FETCH_HEAD
  From https://github.com/espressif/esp-lwip
   * branch            f79221431fa9042b3572d271d687de66da7560c4 -> FETCH_HEAD
  From https://github.com/espressif/mbedtls
   * branch            72aa687352a469044cbb946f3fdb261430e41ce1 -> FETCH_HEAD
  From https://github.com/espressif/esp-mqtt
   * branch            aa6f889fb4f6f743b3a550aa587713aabbdca1fc -> FETCH_HEAD
  From https://github.com/espressif/esp-thread-lib
   * branch            a0f6a77960b36ebe357cc4bee280034f8c7120f1 -> FETCH_HEAD
  From https://github.com/espressif/openthread
   * branch            be7d36e4ff9cf7df6dfce54e58a31163c87b93f7 -> FETCH_HEAD
  From https://github.com/protobuf-c/protobuf-c
   * branch            abc67a11c6db271bedbb9f58be85d6f4e2ea8389 -> FETCH_HEAD
  From https://github.com/pellepl/spiffs
   * branch            0dbb3f71c5f6fae3747a9d935372773762baf852 -> FETCH_HEAD
  From https://github.com/ThrowTheSwitch/Unity
   * branch            7d2bf62b7e6afaf38153041a9d53c21aeeca9a25 -> FETCH_HEAD
  ERROR: Cannot install -r D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\requirements\requirements.core.txt (line 15) because these package versions have conflicting dependencies.
  ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
  Traceback (most recent call last):
    File "D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\idf_tools.py", line 2843, in <module>
      main(sys.argv[1:])
      ~~~~^^^^^^^^^^^^^^
    File "D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\idf_tools.py", line 2835, in main
      action_func(args)
      ~~~~~~~~~~~^^^^^^
    File "D:\v\va\.embuild\espressif\esp-idf\v5.2.2\tools\idf_tools.py", line 2292, in action_install_python_env
      subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\SDKs\Python313\Lib\subprocess.py", line 419, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['D:\\v\\va\\.embuild\\espressif\\python_env\\idf5.2_py3.13_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'D:\\v\\va\\.embuild\\espressif\\esp-idf\\v5.2.2\\tools\\requirements\\requirements.core.txt', '--upgrade', '--constraint', 'D:\\v\\va\\.embuild\\espressif\\espidf.constraints.v5.2.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.
  Error: Could not install esp-idf

  Caused by:
      command '"python" "D:\\v\\va\\.embuild\\espressif\\esp-idf\\v5.2.2\\tools\\idf_tools.py" "--idf-path" "D:\\v\\va\\.embuild\\espressif\\esp-idf\\v5.2.2" "--non-interactive" "install-python-env"' exited with non-zero status code 1
      ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant