Installation of bme280 works but the weewx start failed:

I can read the data from bme280 manually with a python script.
































*Using configuration file /etc/weewx/weewx.confExtension Name    Version   
Descriptionbme280wx          1.0       Add bme280 sensor readings to loop 
packet datapi@weather:~$ sudo nano /etc/weewx/weewx.confpi@weather:~$ 
weewxd Using configuration file /etc/weewx/weewx.confTraceback (most recent 
call last):  File "/usr/share/weewx/weewxd.py", line 226, in <module>    
main()  File "/usr/share/weewx/weewxd.py", line 121, in main    engine = 
weewx.engine.StdEngine(config_dict)            
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File 
"/usr/share/weewx/weewx/engine.py", line 89, in __init__    
self.loadServices(config_dict)  File "/usr/share/weewx/weewx/engine.py", 
line 157, in loadServices    obj = weeutil.weeutil.get_object(svc)(self, 
config_dict)          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File 
"/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object    module = 
importlib.import_module(module_name)            
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File 
"/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module    
return _bootstrap._gcd_import(name[level:], package, level)          
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "<frozen 
importlib._bootstrap>", line 1206, in _gcd_import  File "<frozen 
importlib._bootstrap>", line 1178, in _find_and_load  File "<frozen 
importlib._bootstrap>", line 1149, in _find_and_load_unlocked  File 
"<frozen importlib._bootstrap>", line 690, in _load_unlocked  File "<frozen 
importlib._bootstrap_external>", line 940, in exec_module  File "<frozen 
importlib._bootstrap>", line 241, in _call_with_frames_removed  File 
"/etc/weewx/bin/user/bme280wx.py", line 6, in <module>    import 
bme280ModuleNotFoundError: No module named 'bme280'*

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/6d7eaa36-6f29-409b-ae43-50859c077198n%40googlegroups.com.

Reply via email to