I’m using the dashboard editor which is fine but VSCode would be better. I’d like to use my normal Windows install of VSCode w/ ESPhome extension but the same problem happens when I use Code Server, which I figured made for a better bug report as it’s bit more of a known and managed entity.
# docker exec -it addon_5c53de3b_esphome bash
[email protected]:/# pip3 list|grep -i pillow
Pillow 8.1.2
Here’s a more complete log if it is of any help
* Executing task: esphome run esphome/aq-sensor-02.yaml --device OTA
INFO Reading configuration esphome/aq-sensor-02.yaml...
WARNING GPIO4 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO0 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
Failed config
font: [source esphome/aq-sensor-02.yaml:554]
Please install the pillow python package to use this feature. (pip install pillow).
- file: gfonts://Roboto
id: font_roboto_16
size: 16
* The terminal process "/usr/bin/zsh '-c', 'esphome run esphome/aq-sensor-02.yaml --device OTA'" terminated with exit code: 2.
* Terminal will be reused by tasks, press any key to close it.
Wondering if maybe it needs to be in the Studio Code Server container I checked there to find pip3 is completely broken:
[email protected]:/# pip3
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/main.py", line 9, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/main_parser.py", line 9, in <module>
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/build_env.py", line 20, in <module>
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/spinners.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/logging.py", line 29, in <module>
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/misc.py", line 42, in <module>
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/locations/__init__.py", line 67, in <module>
from . import _distutils
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/locations/_distutils.py", line 20, in <module>
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'