OSError 105:没有缓冲区空间Zerocon

2024-10-03 06:22:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我用的是NanoPi M1(Allwinner H3板)运行基于Yocto的操作系统。在我第一次接触ZeroConf python时

>>> from zeroconf import Zeroconf, ServiceBrowser
>>> zero = Zeroconf()

我得到了一个错误:

^{pr2}$

当我用Raspbian(在RPI上)运行它时,不会出现这个错误。 我曾试图在homeassistant中寻找解决此类错误的方法,但没有一个能够很好地概述实际问题的方法,而不必考虑解决方案。在


Tags: 方法fromimport错误h3zeroraspbianm1
1条回答
网友
1楼 · 发布于 2024-10-03 06:22:55

sysctlnet/ipv4/igmp_max_memberships值更新为大于零。 在终端上执行以下命令: $ systctl -w net.ipv4.igmp_max_memberships=20(或任何大于零的值) &安培; $ sysctl -w net.ipv4.igmp_max_msf=10

然后,重新启动avahi守护进程 systemctl restart avahi-daemon

可以使用验证以上键的现有值 '系统控制网络ipv4.igmp_max_成员资格'。在

相关问题 更多 >