Closed GijsTimmers closed 5 months ago
Do you have venv installed? Try "python -m venv" to see if it works. If not, you'll need to install it using apt or something.
Yes, I have that one installed:
$ python3 -m venv
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT]
[--upgrade-deps]
ENV_DIR [ENV_DIR ...]
venv: error: the following arguments are required: ENV_DIR
I found the culprit. Something had gone wrong installing esphome or platformio, probably by doing a system wide installation instead of a local one in the virtual environment. Removing ~/.local/bin/esphome
and ~/.platformio
did the trick. Thanks for the help anyway. Closing now.
I might very well be missing something. After installing esphome in a virtual environment with this guide: https://esphome.io/guides/installing_esphome.html#linux and trying to compile a
.yaml
file I get:.yaml snippet: