-
-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building integrations - command fails without first installing requirements #2430
Comments
My impression is that this is handled if you follow the steps in *Development Workflow > Set up development environment
|
You mentioned using the devcontainer... so if the devcontainer is not properly being setup right then i think any fixes need to be part of the devcontainer setup to handles this up front? or updating the devcontainer docmentation under "Set up development environment" and not specific to the building integration step |
Good call! I didn't think of the other build types and that it might happen in one of the other build setups. Instead of a docs issue is this potentially a core/dev container issue? |
Perhaps? My assumption is that the devcontainer should be doing this but this is not something i am an expert in. |
When following the Building Integrations guide in VSC dev container, when running
python3 -m script.scaffold integration
and following the prompt, script.hassfest will run following the completion. If you don't first install the requirements, script.hassfest will fail withscript.hassfest ModuleNotFoundError: No module named 'numpy'
I'm guessing there should be instructions for running
pip install -r requirements_all.txt
(or one of the other requirements files. I'm not familiar enough to say which is appropriate.developers.home-assistant/docs/creating_component_index.md
Lines 5 to 9 in 6d6ec9d
The text was updated successfully, but these errors were encountered: