[SOLVED] How can I use Ubidots for Raspberry pi 3?

0

2
I am using Ubidots to display data from raspberry pi 3. Whenever I try to run ubidots python code in python 3.4.2, it seems that an error occurred.

Traceback (most recent call last): File “/home/pi/ubi_test.py”, line 1, in from ubidots import ApiClient ImportError : No module named ‘ubidots’ >

I have follow all the step for installing python library:

$sudo pip install ubidots==1.6.6

$sudo easy_install pip

$sudo apt-get install python-setuptools
Any idea to solve this problem? 1

Greetings, that seems to be an error with your package manager rather than with Ubidots, try using pip3 instead of pip:

pip3 install ubidots==1.6.6

Hope it helps you