错误:ModuleNotFoundError:没有名为“ configobj”的Raspian桌面模块

问题描述

尝试在运行Raspian桌面的Intel NUC上手动运行天气程序WeeWx(用Python编写)并得到以下错误

命令:sudo bin / weewxd weewx.conf返回

Traceback (most recent call last):
File "bin/weewxd",line 14,in <module>
import weewx.engine
File "/home/weewx-orig/bin/weewx/engine.py",line 24,in <module>
import configobj
ModuleNotFoundError: No module named 'configobj'

运行此安装似乎可以正常工作,但错误仍然存​​在:

sudo apt install python3-configobj

我不确定该如何解决

lsb_release -a返回:

No LSB modules are available.
distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

/ home / weewx $ uname -a返回:

Linux NUC62 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux

/ home / weewx $ python -V返回:

Python 3.7.9

在Intel NUC上运行。

非常感谢接受指向解决方案的指针。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)