Comments (5)
boom - resolved
Many thanks!
from esphome.
Hi! Probably the installation failed or your python 2 installation is not linked (python environments are complicated....)
- What did
pip install esphomeyaml
output? Have you tried runningpip2 install esphomeyaml
? esphomeyaml currently requires Python 2 due to a dependency, so you need to usepip2
to use Python 2. - What does
python2 -m esphomeyaml -h
output?
from esphome.
output from python2 -m edsphomeyaml -h
`python2 -m esphomeyaml -h
usage: esphomeyaml [-h]
configuration
{config,compile,upload,logs,run,clean-mqtt,wizard,mqtt-fingerprint,version}
...
positional arguments:
configuration Your YAML configuration file.
{config,compile,upload,logs,run,clean-mqtt,wizard,mqtt-fingerprint,version}
Commands
config Validate the configuration and spit it out.
compile Read the configuration and compile a program.
upload Validate the configuration and upload the latest
binary.
logs Validate the configuration and show all MQTT logs.
run Validate the configuration, create a binary, upload
it, and start MQTT logs.
clean-mqtt Helper to clear an MQTT topic from retain messages.
wizard A helpful setup wizard that will guide you through
setting up esphomeyaml.
mqtt-fingerprint Get the SSL fingerprint from a MQTT broker.
version Print the esphomeyaml version and exit.
optional arguments:
-h, --help show this help message and exit`
from the pip command
Successfully installed bottle-0.12.13 certifi-2018.4.16 chardet-3.0.4 click-5.1 colorama-0.3.9 colorlog-3.1.4 esphomeyaml-1.5.3 idna-2.6 lockfile-0.12.2 paho-mqtt-1.3.1 platformio-3.5.2 pyserial-3.4 pyyaml-3.12 requests-2.18.4 semantic-version-2.6.0 urllib3-1.22 voluptuous-0.11.1
to confirm, should the full run command be as initially stated, or with python2 infront?
python2 esphomeyaml livingroom.yaml wizard
thanks for the prompt response!
from esphome.
The full command should usually just be esphomeyaml livingroom.yaml wizard
.
However, with python's complicated environment setup, this command style does not always work. I think what's going on here is that in your case the python 2 executables path is not setup in your PATH
environment variable.
I'm seeing the same thing happen over at Home Assistant very often - everybody has different python installations and even the packages installed through apt
and similar sometimes seem to not do things the right way. So if something is not working as expected, I usually just tell people to use
python2 -m <PROGRAM_NAME> ...
it works in a lot more cases than the shorthand
esphomeyaml ...
So I think in your case, you should be able to just run
python2 -m esphomeyaml livingroom.yaml wizard
from esphome.
Perfect!
from esphome.
Related Issues (20)
- Buttons should be published by raising events in Home Assistant HOT 1
- Issue Title HOT 2
- Missing `f` prefix on f-strings HOT 1
- esp8285 reboot due to incorrect API or wireless timeout HOT 6
- ESPhome reboot at various intervals
- Create SECURITY.md HOT 2
- Typo in oversampling 32x HOT 1
- adafruit_qtpy_esp32 neopixel gpio8 HOT 1
- New PMS5003T HOT 2
- I2S Media Player not working for ESP32 S2 based boards
- ESPHOME and NGINX Proxy Manager SSL proxy HA addon don't play nicely HOT 1
- Unable to compile new firmware for BT Proxies HOT 1
- missing ADC2 register on ESP32-S3 HOT 1
- Can be deleted
- AC dimmer - phase delay calculation
- Delete the `packages` directory in the `.platformio` directory and try again. It's probably at `/home/esphome/.platformio`. If that doesn't work, then delete the entire `.platformio` directory. HOT 4
- M5StickC support for Rhasspy or Home assistant voice control HOT 1
- response_size (Required): Number of bytes of the response HOT 1
- Please add missing code for climate
- Error compiling yaml with ssl_fingerprints HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome.