标签: python module coap
我有以下脚本:
#!/usr/bin/python from coap import coap c = coap.coap() p = c.GET('coap://bbbb::1415:92cc:0:2/.well-known/core') print ''.join([chr(b) for b in p])
但是,当我运行它时,它会在第3行(from coap import coap)中给出以下错误:No module coap
from coap import coap
No module coap
如何在脚本中导入coap?
coap