After that, I've ran the wee_extension --install command to install bme280wx. I then stop weewx and then started it again and I keep getting the following error:
Jun 22 09:58:36 raspberrypi weewx[455] INFO user.sdr: startup process 'rtl_433 -M utc -F json'
Jun 22 09:58:36 raspberrypi weewxd: bme280: bme280wx configuration {u'temperature_must_have': u'', u'humidityKeys': u'inHumidity', u'pressureKeys': u'pressure', u'pressure_must_have': u'inTemp', u'i2c_port': u'1', u'humidity_must_have': u'', u'i2c_address': u'0x76', u'usUnits': u'US', u'temperatureKeys': u'inTemp'}
Jun 22 09:58:36 raspberrypi weewx[455] INFO user.sdr: shutdown process rtl_433 -M utc -F json
Jun 22 09:58:47 raspberrypi weewx[455] INFO user.sdr: timed out waiting for stderr-thread
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: Caught unrecoverable exception:
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** 'module' object has no attribute 'load_calibration_params'
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** Traceback (most recent call last):
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** File "/usr/share/weewx/weewxd", line 148, in main
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** engine = weewx.engine.StdEngine(config_dict)
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** self.loadServices(config_dict)
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** File "/usr/share/weewx/user/bme280wx.py", line 61, in __init__
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** self.calibration_params = bme280.load_calibration_params(self.bus, self.address)
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** AttributeError: 'module' object has no attribute 'load_calibration_params'
Jun 22 09:58:47 raspberrypi weewx[455] CRITICAL __main__: **** Exiting.
I'm not sure why this is occurring because I don't get this error running the test code above which calls the 'load_calibration_params' Any ideas?