-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I am having trouble compiling on a windows PC.
I have:
- edited "secrets.yaml" to update WiFi details
- edited "tesla-ble-m5stack-nanoc6.yml" to uncomment the "listener: !include packages/listener.yml"
- attempted to compile using
esphome compile tesla-ble-m5stack-nanoc6.yml"
Then I get the following error messages on the command line.
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<2.0.0,>=1.4.2
Using cached esp_idf_kconfig-1.4.3-py3-none-any.whl.metadata (15 kB)
Using cached esp_idf_kconfig-1.4.2-py3-none-any.whl.metadata (15 kB)
ERROR: Cannot install esp-idf-kconfig==1.4.2, esp-idf-kconfig==1.4.3 and esp-idf-kconfig==1.5.0 because these package versions have conflicting dependencies.
The conflict is caused by:
esp-idf-kconfig 1.5.0 depends on windows-curses; platform_system == "Windows"
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
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Installing windows-curses package
*** Error 1
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
*** Error 1
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Building ESP-IDF components for target esp32c6
-- Configuring incomplete, errors occurred!
See also "C:/temp/esphome-tesla-ble-2024.8.1/.esphome/build/tesla-ble/.pioenvs/tesla-ble/CMakeFiles/CMakeOutput.log".
fatal: not a git repository (or any of the parent directories): .git
CMake Error at C:/Users/adria/.platformio/packages/framework-espidf/tools/cmake/build.cmake:552 (message):
C:\Users\adria\.platformio\penv\.espidf-5.3.0\Scripts\python.exe: Error
while finding module specification for
'idf_component_manager.prepare_components' (ModuleNotFoundError: No module
named 'idf_component_manager')
Call Stack (most recent call first):
C:/Users/adria/.platformio/packages/framework-espidf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:3 (project)
I am not familiar with compiling with python, and am not sure of how to resolve the issue.
Any help would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels