-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] penvino/inference_engine/__init__.py", line 30, in <module> from .ie_api import * ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory #9523
Comments
Please provide more information:
|
@alalek I just install openvino from pip install openvino. can not import it. |
Hi @jinfagang , The libpython3.8.so file might not exist in your system, hence causing the error. |
Have you installed |
@dkurt @Iffa-Meah hi, I will update my os env and detailed output once get home. am using ubuntu 20.04, I think I have libpython3.8-dev installed. |
@dkurt Sorry for late reply. I just double check:
Seems my system version is:
So I maybe don't have this .so? How should I install it? BTW, why does users have install this specific version of libpython3.8.s0.1.0? For users like me python3.8.5 not work? then what about python3.9? and python3.8.4? I am confused here. |
@dkurt Oh, sorry. I just checked am using anaconda, and seems
why it doesn't found it? Now, this is confusing: |
@jinfagang If you intend to use the Python Package from Anaconda, it is recommended to create a virtual environment using anaconda. Activate the venv, make sure all OpenVINO pre-requisite installed, then pip install openvino. This should direct the Python Package from Anaconda to be used with OpenVINO. The proper steps would be:
You may refer here. |
@Iffa-Meah thanks a ton. I will try it later on. BTW, why using |
@jinfagang, it is not recommended to put any program in the base environment which is also emphasized by the official Anaconda guide. In order to know further, you probably need to find out from Anaconda itself. Probably it's related to how they manage the packages. This issue can be solved by building the Python API wrapper and specifying an exact Python version, only if you build from source: Build on Linux Systems In your case, it is recommended to create a virtual environment in Anaconda and install OpenVINO there. This would guarantee the usability of OpenVINO and the Python packages. |
@Iffa-Meah thanks, I though openvino doesn't opensource all code before. does openvino opensourced just like tensorrt? Only opensource OSS but not core lib? |
@jinfagang , for building from source, you'll need to do the setup as in the link I provided above. |
Closing issue, feel free to re-open or start a new issue if additional assistance is needed. |
@jinfagang Hi, you should install libpython3.8 in your ubuntu system.
|
penvino/inference_engine/init.py", line 30, in
from .ie_api import *
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: