Skip to content

Commit d8b8f07

Browse files
authored
Merge pull request #32872 from ericmitt/patch-1
Update quickstart-send-telemetry-python.md
2 parents 2ab7856 + f71df85 commit d8b8f07

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

articles/iot-hub/quickstart-send-telemetry-python.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ The simulated device application connects to a device-specific endpoint on your
108108
The following screenshot shows the output as the simulated device application sends telemetry to your IoT hub:
109109
110110
![Run the simulated device](media/quickstart-send-telemetry-python/SimulatedDevice.png)
111+
112+
### To avoid the import iothub_client error
113+
The current version of the Azure IoT SDK for Python is a wrapper over [our C SDK](https://github.com/azure/azure-iot-sdk-c). It is generated using the [Boost](https://www.boost.org/) library. Because of that, it comes with several significant limitations. See more details [here](https://github.com/Azure/azure-iot-sdk-python#important-installation-notes---dealing-with-importerror-issues)
114+
115+
1. Check that you have the right version of [Python](https://github.com/Azure/azure-iot-sdk-python#important-installation-notes---dealing-with-importerror-issues). Be aware that only certain versions works fine for this sample.
116+
2. Check that you have the right version of C++ runtime [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). (We recommend the latest).
117+
3. Verify that you have installed the iothub client: `pip install azure-iothub-device-client`.
111118
112119
## Read the telemetry from your hub
113120
@@ -134,4 +141,4 @@ In this quickstart, you've setup an IoT hub, registered a device, sent simulated
134141
To learn how to control your simulated device from a back-end application, continue to the next quickstart.
135142

136143
> [!div class="nextstepaction"]
137-
> [Quickstart: Control a device connected to an IoT hub](quickstart-control-device-python.md)
144+
> [Quickstart: Control a device connected to an IoT hub](quickstart-control-device-python.md)

0 commit comments

Comments
 (0)