Open CurtisWJohnson opened 5 years ago
yes you are right in python 3 it is showing import error can anyone rectify it
Did you install the python 3 modules and not just the python 2 modules?
i.e. pip3 install azure-iothub-device-client
, pip3 install azure-iothub-service-client
.
Or if you're building the C libraries, sudo ./setup.sh --python-version 3.5
The python3 command
python3 app.py '<your Azure IoT hub device connection string>'
does not work butpython2 app.py '<your Azure IoT hub device connection string>'
does work.