You are probably missing the underlying libusb "C" library. Try running this test, using the Python interpreter. You type what's in *bold*.
$ *python* >>> *from ctypes.util import find_library* >>> *print find_library('c')* >>> *print find_library('usb-1.0')* >>> *print find_library('usb-0.1')* >>> *import usb.core* >>> *print usb.core.find()* -tk On Thu, Aug 16, 2018 at 10:50 AM Cycle London <cycle.london...@gmail.com> wrote: > So I asked for your help a while back in migrating a faulty Pi install to > a CentOS 7 box. I gave up then, because I thought that I'd be able to > handle the constant crashes of the Pi, but having to unplug it and plug it > back in three times a day is getting a bit much. And if we go away > anywhere and it crashes.. > > So I have a CentOS 7.5.1804 box up and running. The Oregon Scientific > WMR300 weather station is recognised and appears in dmesg. > > This is a completely fresh install of weewx, in that although I have a > complete back up of /home/weewx from the Pi, I have not transferred any of > the files from the backup. Everything in /home/weewx on this VM, is > 'pristine' from the install. I used the setup.py install. So... > > /etc/rc.d/init.d/weewx restart > Aug 16 18:48:13 weather systemd: Stopping SYSV: start and stop the weewx > weather system... > Aug 16 18:48:13 weather weewx: Shutting down weewx: [FAILED] > Aug 16 18:48:13 weather systemd: Starting SYSV: start and stop the weewx > weather system... > Aug 16 18:48:14 weather weewx[1854]: engine: Initializing weewx version > 3.8.0 > Aug 16 18:48:14 weather weewx[1854]: engine: Using Python 2.7.5 (default, > Jul 13 2018, 13:06:57) #012[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] > Aug 16 18:48:14 weather weewx[1854]: engine: Platform > Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core > Aug 16 18:48:14 weather weewx[1854]: engine: Locale is 'en_GB.UTF-8' > Aug 16 18:48:14 weather weewx[1854]: engine: pid file is /var/run/weewx.pid > Aug 16 18:48:14 weather weewx[1858]: engine: Using configuration file > /home/weewx/weewx.conf > Aug 16 18:48:14 weather weewx[1858]: engine: Loading station type WMR300 > (weewx.drivers.wmr300) > Aug 16 18:48:14 weather weewx: Starting weewx: [ OK ] > Aug 16 18:48:14 weather weewx[1858]: wmr300: driver version is 0.18 > Aug 16 18:48:14 weather weewx[1858]: wmr300: usb info: pyusb_version=1.0.2 > Aug 16 18:48:14 weather weewx[1858]: wmr300: sensor map is {'outHumidity': > 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', > 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': > 'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', > 'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', > 'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': > 'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', > 'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': > 'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', > 'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': > 'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': > 'temperature_5', 'extraTemp5': 'temperature_6', 'extraTemp2': > 'temperature_3', 'extraTemp3': 'temperature_4', 'extraTemp1': > 'temperature_2', 'extraHeatindex3': 'heatindex_4', 'extraHeatindex2': > 'heatindex_3', 'extraHeatindex1': 'heatindex_2', 'extraHeatindex7': > 'heatindex_8', 'extraHeatindex6': 'heatindex_7', 'extraHeatindex5': > 'heatindex_6', 'extraHumid7': 'humidity_8', 'extraHeatindex4': > 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 'temperature_1', > 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 'windGust': > 'wind_gust'} > Aug 16 18:48:14 weather systemd: Started SYSV: start and stop the weewx > weather system. > Aug 16 18:48:14 weather weewx[1858]: import of driver failed: No backend > available (<class 'usb.core.NoBackendError'>) > Aug 16 18:48:14 weather weewx[1858]: engine: Unable to load driver: No > backend available > Aug 16 18:48:14 weather weewx[1858]: **** Exiting... > > So near, and yet so far..... > > Thanks. > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.