question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No module named 'numpy'

See original GitHub issue

I’m running HA core-2021.9.5 on Home Assistant OS 6.3. When using Check Home Assistant configuration 3.8.0 to check against upgrading to HA core-2021.9.6, it complains about powercalc.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:52:46] INFO: Don't worry, this temporary installation is not overwriting your current one.
[21:52:46] INFO: Installing Home Assistant: latest...
[21:52:46] INFO: Please be patient, this might take a few minutes...
[21:53:11] INFO: Installed Home Assistant 2021.9.7
[21:53:11] INFO: Making a copy of your configuration for checking...
[21:53:11] INFO: Checking your configuration against this version...
[21:54:47] ERROR: The configuration check did not pass!
[21:54:47] ERROR: See the output below for more details.
Testing configuration at /tmp/config
Failed config
  General Errors: 
    - Component error: powercalc - No module named 'numpy'

Successful config (partial)
[21:54:47] INFO: The full output has been written to /share/check_config.txt
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bramstrokercommented, Sep 20, 2021

Didn’t know about this addon, thanks. Will try to reproduce.

0reactions
mstarks01commented, Sep 20, 2021

That seems to have done the trick. Thanks again for the integration and the lightning fast fix! 😃

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[17:09:06] INFO: Don't worry, this temporary installation is not overwriting your current one.
[17:09:06] INFO: Installing Home Assistant: latest...
[17:09:06] INFO: Please be patient, this might take a few minutes...
[17:09:32] INFO: Installed Home Assistant 2021.9.7
[17:09:32] INFO: Making a copy of your configuration for checking...
[17:09:32] INFO: Checking your configuration against this version...
[17:11:08] INFO: Configuration check finished - no error found! :)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "Import Error: No module named numpy" on Windows
It turns out the problem happens when you're installing Numpy to a version of python and trying to run the program using another...
Read more >
ModuleNotFoundError: No module named 'numpy' in Python
The Python "ModuleNotFoundError: No module named 'numpy'" occurs when we forget to install the numpy module before importing it or install it in...
Read more >
How to Fix: No module named NumPy - GeeksforGeeks
Numpy is a module used for array processing. The error “No module named numpy ” will occur when there is no NumPy library...
Read more >
How to Fix: No module named numpy - Statology
How to Fix: No module named numpy · Step 1: pip install numpy · Step 2: Install pip · Step 3: Check NumPy...
Read more >
[Solved] No Module Named Numpy in Python
No Module Named Numpy is one of the persistent errors if you have multiple pythons installed or a virtual environment set up.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found