Influxdb integration error since HA 2022.2 update

Since I updated from HA Core 2021.11 to 2022.2 I get this error when checking the configuration from the lovelace menu:

Component error: influxdb - 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.9 from "/srv/homeassistant/bin/python3.9"
  * The NumPy version is: "1.21.2"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: libcblas.so.3: cannot open shared object file: No such file or directory

Before the update, the influxdb integration was working properly also through all previous updates.
Removing the line

influxdb:

from the configuration.yaml is what I need to do for a working configuration. Any ideas what suddenly went wrong ?

Hi there, did you solve this issue ?
Same for me…

Meanwhile I updated to 2022.3.1, but the problem is still persisting.
It is not possible to use the influxdb integration anymore.

Which HA version are you using, also the Core version ?

Hi @DDG,

Thanks for your answer.
In the meantime, I solved the issue. I’m using HA Core in Python Virtual Environment (3.9.9).

I needed to install the following package on my Pi:
sudo apt-get install libatlas-base-dev

And I also needed to force the reinstall of Numpy in the Python Virtual Environment

sudo su - homeassistant
cd /srv/homeassistant
source bin/activate
pip3 install numpy --no-cache-dir --force-reinstall --no-binary :all:

I hope this will help you with this undocumented issue !

3 Likes

Thank you very much ! That helped. Influxdb integration is working again.

Thanks, this worked for me too.