0

I have the following script:

#!/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])

However, when I run it, it gives the following error in line 3 (from coap import coap): No module coap

How can I import coap in the script?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

0 Answers0