Sorry, my time has been short lately. I am hoping someone else can jump in and help finish this.
For this error try running sudo pip install statistics Again, I don't think you can run your script and weewx at the same time. It will be one or the other. On Sunday, December 30, 2018 at 12:56:31 PM UTC-5, Patrick Tranchant wrote: > > hello PAT > > I could install weewx on new RPi > Watch the new error: > > Dec 30 18:44:19 raspberrypi systemd[1]: Starting LSB: weewx weather > system... > Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Initializing weewx > version 3.8.2 > Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Using Python 2.7.13 > (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516] > Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Platform > Linux-4.14.71-v7+-armv7l-with-debian-9.4 > Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Locale is 'fr_FR.UTF-8' > Dec 30 18:44:19 raspberrypi weewx[1389]: engine: pid file is > /var/run/weewx.pid > Dec 30 18:44:20 raspberrypi weewx[1393]: engine: Using configuration file > /etc/weewx/weewx.conf > Dec 30 18:44:20 raspberrypi weewx[1393]: engine: Loading station type > BYOWS (user.byows) > Dec 30 18:44:20 raspberrypi weewx[1378]: Starting weewx weather system: > weewx. > Dec 30 18:44:20 raspberrypi systemd[1]: Started LSB: weewx weather system. > Dec 30 18:44:22 raspberrypi weewx[1393]: engine: Caught unrecoverable > exception in engine: > Dec 30 18:44:22 raspberrypi weewx[1393]: **** No module named > statistics > Dec 30 18:44:22 raspberrypi weewx[1393]: **** Traceback (most recent > call last): > Dec 30 18:44:22 raspberrypi weewx[1393]: **** File > "/usr/share/weewx/weewx/engine.py", line 871, in main > Dec 30 18:44:22 raspberrypi weewx[1393]: **** engine = > engine_class(config_dict) > Dec 30 18:44:22 raspberrypi weewx[1393]: **** File > "/usr/share/weewx/weewx/engine.py", line 72, in __init__ > Dec 30 18:44:22 raspberrypi weewx[1393]: **** > self.setupStation(config_dict) > Dec 30 18:44:22 raspberrypi weewx[1393]: **** File > "/usr/share/weewx/weewx/engine.py", line 96, in setupStation > Dec 30 18:44:22 raspberrypi weewx[1393]: **** __import__(driver) > Dec 30 18:44:22 raspberrypi weewx[1393]: **** File > "/usr/share/weewx/user/byows.py", line 17, in <module> > Dec 30 18:44:22 raspberrypi weewx[1393]: **** import statistics > Dec 30 18:44:22 raspberrypi weewx[1393]: **** ImportError: No module > named statistics > Dec 30 18:44:22 raspberrypi weewx[1393]: **** Exiting. > > I could test avec "Simulator" and after I modified the file to use "byows > driver" as the other RPi. > on this RPI, I have just install Apache2, I think that I must install also > Mysql . Yes or No > > Patrick > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
