microsoft / vscode-azure-iot-toolkit

Azure IoT Hub extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit
Other
73 stars 58 forks source link

run python generate code failed on Mac/Ubuntu #305

Open czgtest opened 5 years ago

czgtest commented 5 years ago

repro on Ubuntu/Mac step: 1.right-click an edge device and generate code for python 2.pip install azure-iothub-device-client 3.code run failed iotedgetest@iotedgetest-desktop:~/Documents/test/4.11/EdgeSolutionFunction$ sudo python -u "/home/iotedgetest/Documents/test/4.11/EdgeSolutionFunction/tempCodeRunnerFile.python" Traceback (most recent call last): File "/home/iotedgetest/Documents/test/4.11/EdgeSolutionFunction/tempCodeRunnerFile.python", line 12, in import iothub_client File "/usr/local/lib/python2.7/dist-packages/iothub_client/init.py", line 1, in from .iothub_client import * ImportError: libboost_python-py27.so.1.58.0: cannot open shared object file: No such file or directory

formulahendry commented 5 years ago

Related to https://github.com/Azure/azure-iot-sdk-python/issues/270