python tftpy找不到记录器tftpy.tftpacketypes的处理程序

2024-10-03 09:12:51 发布

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

这是第一次使用tftpy python

need help for this error: No handlers could be found for logger "tftpy.TftpPacketTypes"

#!/usr/bin/env python
import tftpy
if __name__ == '__main__':
try:
    client = tftpy.TftpClient('myip', 69)
    client.download('file.cfg', 'file.cfg')
except tftpy.TftpShared.TftpException as r:
    print(r)

这是爆发

No handlers could be found for logger "tftpy.TftpPacketTypes"

File not found


Tags: noclientforhandlershelpbeneedlogger