In order to allow non-dict objects to be serialized set the safe parameter to False.
TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.
解决:
翻译:TypeError:
python 怎么获取电脑的mac地址
在 Linux 和 macOS 上获取 MAC 地址
您可以使用 scapy 库来获取网络接口和它们的 MAC 地址。scapy 是一个强大的数据包操作工具,可以用来发送、嗅探、分析和伪造网络数据包。
首先,您需要安装 scapy:
pip install scapy
然后,您可以使用以下代码来获取 MAC 地址:
from scapy.all i
2026-01-11 11:56:17.5133058 [W:onnxruntime:, graph.cc:3526 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer '368'. It is not used by any node and should be removed from th