caiosweet / Home-Assistant-custom-components-DPC-Alert

Italy Meteo-hydro alert and hydrogeological phenomena Civil Protection (Protezione Civile). In this custom component you can find the vigilance Bulletin and the Bulletin of national hydrogeological and hydraulic criticalities. They allow to check whether in your current location there will be criticalities/warnings related to weather-hydrogeological and hydraulic phenomena. Weather forecasts for civil protection purposes differs from the classic "weather forecasts". They highlight potentially harmful situations to people or things. This component was created for personal purposes, in order to be able to monitor the Civil Protection site and check for important updates. I hope it will be useful to you.
MIT License
47 stars 4 forks source link

No module named 'feedparser' [python environment] #14

Closed naked-head closed 4 years ago

naked-head commented 4 years ago

After last update no sensor is working, this is what I got in my log: File "/home/homeassistant/.homeassistant/custom_components/dpc/binary_sensor.py", line 8, in import feedparser ModuleNotFoundError: No module named 'feedparser'

Home assistant version 0.109.6 without Hass DPC version 1.2.4

caiosweet commented 4 years ago

Hi what is your system?
Try in the manifest.json

"requirements": ["feedparser==5.2.1"] Will be installed on restart.

...or in your Python environment pip install feedparser

Let me know if it works.

naked-head commented 4 years ago

That's work!!! tanks. My system is a Raspberry pi 3B+ with raspbian buster, home assistant is installed in python environment.