chaunceygardiner / weewx-purple

A WeeWX plugin that support the purple-proxy service for retrieving PurpleAir sensor readings.
GNU General Public License v3.0
3 stars 1 forks source link

ERROR: missing module #5

Closed mash55 closed 2 years ago

mash55 commented 2 years ago

I am trying to get the extension installed on Pi with Bullseye. Python 3.9.2 weewx 4.5.1

installed extension and configured weewx.conf with my purple air sensor IP address.

Restarted weewx and getting the following error: Jan 16 17:09:20 weewx python3[3747]: weewx[3747] CRITICAL main: File "/usr/share/weewx/user/purple.py", line 30, in Jan 16 17:09:20 weewx python3[3747]: weewx[3747] CRITICAL main: from dateutil import tz Jan 16 17:09:20 weewx python3[3747]: weewx[3747] CRITICAL main: ModuleNotFoundError: No module named 'dateutil' Jan 16 17:09:20 weewx python3[3747]: weewx[3747] CRITICAL main: Exiting.

Checked for dateutil on my system: pip3 list | grep date python-dateutil 2.8.2

Looks like it is installed. Any pointers?

tnx

chaunceygardiner commented 2 years ago

Install python3-dateutil. apt install python3-dateutil

mash55 commented 2 years ago

tnx for the quick reply - seems to work