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
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