Home-Assistant-Mail-And-Packages: ISSUE: Unable to prepare setup for platform mail_and_packages.sensor: Platform not found

Describe the bug Manual install will not create sensors 😦. No sensors are getting created for any of the carriers.

Environment (please complete the following information):

  • OS: Rasbpian
  • Type of device: RPI4
  • Home Assistant version: 106.6
  • Hassio/Docker/Core: Virtual
  • Python Version: 3.7.3

Logs Mar 14 22:44:52 hass hass[790]: 2020-03-14 22:44:52 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mail_and_packages.sensor: Platform not found ( Mar 14 22:44:52 hass hass[790]: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Mar 14 22:44:52 hass hass[790]: Importing the numpy c-extensions failed. Mar 14 22:44:52 hass hass[790]: - Try uninstalling and reinstalling numpy. Mar 14 22:44:52 hass hass[790]: - If you have already done that, then: Mar 14 22:44:52 hass hass[790]: 1. Check that you expected to use Python3.7 from “/srv/homeassistant/bin/python3”, Mar 14 22:44:52 hass hass[790]: and that you have no directories in your PATH or PYTHONPATH that can Mar 14 22:44:52 hass hass[790]: interfere with the Python and numpy version “1.18.1” you’re trying to use. Mar 14 22:44:52 hass hass[790]: 2. If (1) looks fine, you can open a new issue at Mar 14 22:44:52 hass hass[790]: https://github.com/numpy/numpy/issues. Please include details on: Mar 14 22:44:52 hass hass[790]: - how you installed Python Mar 14 22:44:52 hass hass[790]: - how you installed numpy Mar 14 22:44:52 hass hass[790]: - your operating system Mar 14 22:44:52 hass hass[790]: - whether or not you have multiple versions of Python installed Mar 14 22:44:52 hass hass[790]: - if you built from source, your compiler versions and ideally a build log Mar 14 22:44:52 hass hass[790]: - If you’re working with a numpy git repository, try git clean -xdf Mar 14 22:44:52 hass hass[790]: (removes all files not under version control) and rebuild numpy. Mar 14 22:44:52 hass hass[790]: Note: this error has many possible causes, so please don’t comment on Mar 14 22:44:52 hass hass[790]: an existing issue about this - open a new one instead. Mar 14 22:44:52 hass hass[790]: Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory Mar 14 22:44:52 hass hass[790]: ).

Screenshots none

Additional context Followed the readme to the ‘t’ using the manual installation. Below is the component directory and permissions.

pi@hass:/home/homeassistant/.homeassistant/custom_components/mail_and_packages $ ls -lha total 60K drwxr-xr-x 3 root root 4.0K Mar 14 22:06 . drwxr-xr-x 4 root root 4.0K Mar 14 12:20 … -rw-r–r-- 1 root root 4.3K Mar 3 21:34 config_flow.py -rw-r–r-- 1 root root 1.2K Mar 3 21:34 const.py -rw-r–r-- 1 root root 1.6K Mar 3 21:34 init.py -rw-r–r-- 1 root root 274 Mar 3 21:34 manifest.json -rw-r–r-- 1 root root 28K Mar 3 21:34 sensor.py drwxr-xr-x 2 root root 4.0K Mar 3 21:34 .translations

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 29 (8 by maintainers)

Most upvoted comments

Also, was your issue running on the pi fixed by using another version of the integration or by installing the suggested package?

Installing suggested package.