ImportError: libboost_python-py34.so.1.55.0: cannot open shared object file: No such file or directory
See original GitHub issueOS and version used:
raspbian
Python runtime used:
python3.5
SDK version used
# Description of the issue: Installation was performed based off of the above environment as: sudo apt-get install libpython3-dev sudo apt-get install libboost-python-dev sudo pip install azure-iothub-service-client sudo pip3 install azure-iothub-service-client
Once after that, using service SDK by importing in Python it fails with error: ImportError: libboost_python-py34.so.1.54.0: cannot open shared object file: No such file or directory
Effectively cannot use Python SDK.
# Code sample exhibiting the issue: import iothub_service_client
# Console log of the issue: From the Python console:
`import iothub_service_client
Traceback (most recent call last): File “<stdin>”, line 1, in <module> ImportError: libboost_python-py34.so.1.55.0: cannot open shared object file: No such file or directory
ImportError: libboost_python-py34.so.1.55.0: cannot open shared object file: No such file or directory `
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top GitHub Comments
Running in a docker python:3.5 I hav copied the files
iothub_client_prov_args.py iothub_client_sample_x509.py iothub_client_args.py iothub_client_prov_hsm_sample.py iothub_client_shared_transport_sample.py iothub_client_cert.py iothub_client_sample.py readme.md iothub_client_file_upload.py iothub_client_sample_class.py
run the install: pip install azure-iothub-device-client and sudo apt-get install libboost1.55-all and apt-get update and apt-get upgrade
but when running the iothub_client_sample.py i still get this error:
python iothub_client_sample.py Traceback (most recent call last): File “iothub_client_sample.py”, line 10, in <module> import iothub_client File “/usr/local/lib/python3.5/site-packages/iothub_client/init.py”, line 1, in <module> from .iothub_client import * ImportError: libboost_python-py35.so.1.58.0: cannot open shared object file: No such file or directory
Any idea of how to get this to work
I’m putting a python module inside of a container which takes a dependency on this and hitting it as well. I’ve based off of the latest miniconda3 container; which leverages python 3.7. I can set python back to a different version and have set it to 3.5 and install the libboost-dev-all.
I still get the same error: