Skip to content

Commit 209d592

Browse files
committed
updated instructions for service client
1 parent a3cda15 commit 209d592

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/iot-hub/quickstart-control-device-python.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ az extension add --name azure-cli-iot-ext
4343

4444
If you haven't already done so, download the sample Python project from https://github.com/Azure-Samples/azure-iot-samples-python/archive/master.zip and extract the ZIP archive.
4545

46-
For Windows, the following prerequisites are required to install the V1 IoT Hub service client Pip package:
46+
**For Windows**, the following prerequisites are required to install the V1 IoT Hub service client Pip package:
4747

4848
* Make sure you have [Python version **3.6.x**](https://www.python.org/downloads/) installed.
4949

5050
* Make sure you have the [Microsoft Visual C++ Redistributable for Visual Studio](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) installed.
5151

52-
For other platforms, see the [Python Pip package distribution table](https://github.com/Azure/azure-iot-sdk-python/blob/v1-deprecated/doc/python-devbox-setup.md#python-pip-package-distribution-table) in the V1 SDK documentation. Make sure the Python 3.x version specified for your platform and any associated requirements are installed on your development machine. Installing Python 3.x rather than 2.7 enables async operations in the V2 device client, which is also used in this quickstart.
52+
**For non-Windows platforms**, see the [Python Pip package distribution table](https://github.com/Azure/azure-iot-sdk-python/blob/v1-deprecated/doc/python-devbox-setup.md#python-pip-package-distribution-table) in the V1 SDK documentation. Make sure the Python 3.x version specified for your platform and any associated requirements are installed on your development machine. Installing Python 3.x rather than 2.7 enables async operations in the V2 device client, which is also used in this quickstart.
5353

5454
## Create an IoT hub
5555

@@ -160,6 +160,10 @@ The back-end application connects to a service-side endpoint on your IoT Hub. Th
160160
161161
![Change in simulated client](./media/quickstart-control-device-python/SimulatedDevice-2.png)
162162
163+
> [!NOTE]
164+
> If you get an error on the import of *iothub_service_client*, make sure you've installed the exact version of Python and any other associated artifacts specified for your platform in [Prerequisites](#Prerequisites). If, after verifying the prerequisites, you still get an error, you may need to build the service client for your platform. To learn how to build the SDK for your platform, see the [devbox setup instructions](https://github.com/Azure/azure-iot-sdk-python/blob/v1-deprecated/doc/python-devbox-setup.md) in the V1 SDK documentation.
165+
>
166+
163167
## Clean up resources
164168
165169
[!INCLUDE [iot-hub-quickstarts-clean-up-resources](../../includes/iot-hub-quickstarts-clean-up-resources.md)]

0 commit comments

Comments
 (0)