New standalone esphome installation. Multiple library files

Because my homeassistant server is not strong enough, I try to install esphome on my local pc. If I try to compile the sample from the installation guide I get always the error that the there are 2 versions of a library. I have an ESP32-C3 Zero and I tried the boards esp32-c3-devkitm-1 and esp32-c3-devkitc-02.

(venv) esphomeuser@polo:~>esphome  run livingroom.yaml
INFO ESPHome 2025.10.3
INFO Reading configuration livingroom.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing livingroom (board: esp32-c3-devkitm-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
INFO Package configuration completed successfully
INFO Package configuration completed successfully
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.50402.0 (5.4.2) 
 - tool-cmake @ 3.30.2 
 - tool-esp-rom-elfs @ 2024.10.11 
 - tool-esptoolpy @ 5.0.2 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.13.1 
 - tool-scons @ 4.40801.0 (4.8.1) 
 - toolchain-riscv32-esp @ 14.2.0+20241119
Reading CMake configuration...

> *** Multiple ways to build the same target were specified for: /data/home/esphomeuser/.esphome/build/livingroom/.pioenvs/livingroom/esp_efuse_fields.c.o  (from ['/data/home/esphomeuser/.platformio/packages/framework-espidf/components/efuse/esp32c3/esp_efuse_fields.c'] and from ['/data/home/esphomeuser/.platformio/packages/framework-espidf/components/efuse/src/esp_efuse_fields.c'])
> File "/home/esphomeuser/.platformio/platforms/espressif32/builder/frameworks/espidf.py", line 1092, in compile_source_files
> =============================================================================== [FAILED] Took 0.81 seconds ===============================================================================

yes I found the 2 files:

  1. .platformio/packages/framework-espidf/components/efuse/esp32c3/esp_efuse_fields.c
  2. .platformio/packages/framework-espidf/components/efuse/src/esp_efuse_fields.c

They are different. On my home assistant server and my local pc are the same versions of esphome 2025.10.3. But the libraries may differ.

I tried also esp32dev.

Processing livingroom2 (board: esp32dev; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)

Is this release defect?

TIA

Yeah, .platformio has been one of those components which has thrown errors on my machine, too. I’ve had to delete (python -m pip uninstall platformio) and re-install it (python -m pip install platformio) and sometimes delete directories to get the uninstall and/or install to work. One time I had to totally un-install Esphome, then Python, and start over from scratch. I suspect some of my problems are from installing different things in different places, and perhaps some of those places are in the path and some aren’t.

Just make sure your source .yaml files are safe before you go un-installing and re-installing stuff.

Docker install may be better/easier since it avoids dependency/version errors

Tried this, but platformio contains not the library files

(venv) esphomeuser@polo:~>python -m pip install platformio
Collecting platformio
  Using cached platformio-6.1.18-py3-none-any.whl (420 kB)
Requirement already satisfied: bottle==0.13.* in ./venv/lib/python3.11/site-packages (from platformio) (0.13.4)
Requirement already satisfied: click<8.1.8,>=8.0.4 in ./venv/lib/python3.11/site-packages (from platformio) (8.1.7)
Requirement already satisfied: colorama in ./venv/lib/python3.11/site-packages (from platformio) (0.4.6)
Requirement already satisfied: marshmallow==3.* in ./venv/lib/python3.11/site-packages (from platformio) (3.26.1)
Requirement already satisfied: pyelftools<1,>=0.27 in ./venv/lib/python3.11/site-packages (from platformio) (0.32)
Requirement already satisfied: pyserial==3.5.* in ./venv/lib/python3.11/site-packages (from platformio) (3.5)
Requirement already satisfied: requests==2.* in ./venv/lib/python3.11/site-packages (from platformio) (2.32.5)
Requirement already satisfied: semantic_version==2.10.* in ./venv/lib/python3.11/site-packages (from platformio) (2.10.0)
Requirement already satisfied: tabulate==0.* in ./venv/lib/python3.11/site-packages (from platformio) (0.9.0)
Requirement already satisfied: ajsonrpc==1.2.* in ./venv/lib/python3.11/site-packages (from platformio) (1.2.0)
Requirement already satisfied: starlette<0.47,>=0.19 in ./venv/lib/python3.11/site-packages (from platformio) (0.46.2)
Requirement already satisfied: uvicorn<0.35,>=0.16 in ./venv/lib/python3.11/site-packages (from platformio) (0.34.3)
Requirement already satisfied: wsproto==1.* in ./venv/lib/python3.11/site-packages (from platformio) (1.2.0)
Requirement already satisfied: packaging>=17.0 in ./venv/lib/python3.11/site-packages (from marshmallow==3.*->platformio) (25.0)
Requirement already satisfied: charset_normalizer<4,>=2 in ./venv/lib/python3.11/site-packages (from requests==2.*->platformio) (3.4.4)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.11/site-packages (from requests==2.*->platformio) (3.11)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.11/site-packages (from requests==2.*->platformio) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.11/site-packages (from requests==2.*->platformio) (2025.10.5)
Requirement already satisfied: h11<1,>=0.9.0 in ./venv/lib/python3.11/site-packages (from wsproto==1.*->platformio) (0.16.0)
Requirement already satisfied: anyio<5,>=3.6.2 in ./venv/lib/python3.11/site-packages (from starlette<0.47,>=0.19->platformio) (4.11.0)
Requirement already satisfied: sniffio>=1.1 in ./venv/lib/python3.11/site-packages (from anyio<5,>=3.6.2->starlette<0.47,>=0.19->platformio) (1.3.1)
Requirement already satisfied: typing_extensions>=4.5 in ./venv/lib/python3.11/site-packages (from anyio<5,>=3.6.2->starlette<0.47,>=0.19->platformio) (4.15.0)
Installing collected packages: platformio
Successfully installed platformio-6.1.18

Problem: two library .c files and one file object esp_efuse_fields.c.o file. If I remove one or both of the two .c files the compiler says nevertheless the object file was build from the both .c files and knows the names and full path of the missig files.

I got it with docker. Could make example, compile, and flash serial. Next I would like get the tornado dashboard to work.