Open OlwinFroon opened 2 weeks ago
I followed the instructions HERE to install Python and ESPHome on my Windows machine.
Then I tried to adopt a previously flashed ESP32 S3 Box 3.
The compiling process crashed with the message 'ImportError: failed to find libmagic. Check your installation' and 'Component not found: image'
2024.5.5
Home Assistant Add-on
No response
ESP32
substitutions: name: esp32-s3-box-3-redacted friendly_name: S3 Box A packages: esphome.voice-assistant: github://esphome/firmware/wake-word-voice-assistant/esp32-s3-box-3.yaml@main esphome: name: ${name} name_add_mac_suffix: false friendly_name: ${friendly_name} api: encryption: key: 4ZtOEJ/bUR7/gcLp9vR33JprrzI8mO0YipdLhC72k+E= wifi: ssid: !secret wifi_ssid password: !secret wifi_password
I installed Python 3.12.4 amd-64 for Windows.
Further digging revealed a related post HERE which might help fixing the problem.
Somebody suggested to fix this with pip install python-magic-bin (version 0.4.14).
pip install python-magic-bin
Didn't work, though.
The new error message is now magic.magic.MagicException: b'could not find any valid magic files!'.
magic.magic.MagicException: b'could not find any valid magic files!'
The problem
I followed the instructions HERE to install Python and ESPHome on my Windows machine.
Then I tried to adopt a previously flashed ESP32 S3 Box 3.
The compiling process crashed with the message 'ImportError: failed to find libmagic. Check your installation' and 'Component not found: image'
Which version of ESPHome has the issue?
2024.5.5
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
I installed Python 3.12.4 amd-64 for Windows.
Further digging revealed a related post HERE which might help fixing the problem.