Open sheshna opened 6 years ago
There are 4 ways to resolve this problem
copy and paste txthings to examples directory
Install txthings library
pip install txthings
Run setup.py as --
python setup.py install
I think option 3 is best way to install other dependencies.
There could be another way if you make a requirements.txt file and put
twisted
txthings
ipaddress
service_identity
save and close. Then run
pip install -r requirements.txt
Hi am new to coap and python but need to use it for my project.
when i start the coap server. am having the following prob, please advise asap :(
pi@raspberrypi:~/txThings/examples $ python server.py Traceback (most recent call last): File "server.py", line 15, in
import txthings.resource as resource
ImportError: No module named txthings.resource