ESP home update error

Upon latest upgrade ESP Home, suddenly all my esp got update error

Error: uv installation via pip failed with exit code 1 Error: Failed to install Python dependencies into penv ==== [ERROR] /config/esphome/esp-home-family-room.yaml ====

Anybody experiences a similar problem? any solutions? thanks in advances

I have too many ESP devices to ever consider updating them. Unless there is a new feature that I need, I just don’t.

2 Likes

What does family-room.yaml file contain?
Post your ESPHome compile log, both suitably formatted </>.

My suggestion, clean build files and try again.

The content

esphome:
  name: esp-home-family-room

esp32:
#  board: esp32dev
#  framework:
#    type: arduino
  board: esp32dev
  framework:
    type: esp-idf


# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: ""

#ota:
#  platform: esphome

ota:
  platform: esphome
  password: ""

#ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp-Home-Family-Room"
    password: ""

captive_portal:
esp32_ble_tracker:

sensor:
  - platform: xiaomi_lywsdcgq
    mac_address: "58:A9"
    temperature:
      name: "LYWSDCGQ Temperature"
    humidity:
      name: "LYWSDCGQ Humidity"
    battery_level:
      name: "LYWSDCGQ Battery Level"
      
binary_sensor:
  - platform: status
    name: "ESPHome Family Room Scanner Connection Status"    

Keep on saying phyton dependencies… ← maybe need to wait for HA 2006.1?

Uninstall ESPHome, shut down your HomeAssistant server, stsrt up again, and reinstall ESPHome.
Check that all other updates have completed.
Restart again (don’t skip this), and then attempt to compile your code.
Post the resulting compile log.

That is the VERY long way around clicking the ‘clean build files’ button…


OR

In this case it appears a sledge hammer approach may be warranted, the actual compiler environment, not just the subroutines being suspect. The yaml file is not lost (being backed up to an earlier forum post in this thread) :wink:

`Clean Build Files` action in ESPHome Builder fails when config is invalid · Issue #6726 · esphome/issues · GitHub may be relevant, but was closed…

If re-installing ESPHome from scratch doesn’t work, there are far bigger underlying issues that may need addressing.

1 Like

I think at this time I will wait for the latest hassos update 1st. I think that should be some update that require before I can update my esphome. Will let u guys know. Thanks again for the help

Uninstall and reinstall will bypass the potential clean files build issue. Waiting for the next release will possibly not resolve the issue.