Hello guys,
Im trying to connect my edison board to the ubidots cloud with python. However when I try to import the ApiClient
from ubidots import ApiClient
Traceback (most recent call last):
File “”, line 1, in
File “/home/root/ubidots.py”, line 10, in
ImportError: cannot import name ApiClient
for i in range(0,5):
try:
print “Connecting to Ubidots”
api = ApiClient(token=‘d195c0044fcasdfdf9dsfab9d653af3’) # Replace with your Ubidots Token here
break
except:
print "No internet connection, retrying..."
time.sleep(5)