You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also added /path/to/env/lib/python3.10/site-packages/openvino/libs to both path and pythonpath.
Independently from the combination of steps, when I try to run from openvino.model_zoo.model_api.models import SSD
I always get the following error: ModuleNotFoundError: No module named 'openvino.model_zoo'
Note that I can import openvino, it's just the openvino.model_api that doesn't work. If it's of any help, following the same steps on my local windows machine works without any problem: I just don't seem to be able to set it up on ubuntu...
Here the output of pip show openvino, in case it's helpful to debug the problem:
You can also compare the commits that you have checked out on windows and ubuntu
Thanks so much, it seems to work just fine now!
Could you point me to the documentation page where this is specified (if there is one) so that I can add it to my docs?
I have been having troubles importing 'openvino.model_zoo' on an ubuntu (20.04) ec2 instance.
I have tried a bunch of things, including:
conda install -c conda-forge openvino=2023.3.0
pip install <omz_dir>/demos/common/python
or
pip install openvino==2023.3.0
pip install <omz_dir>/demos/common/python
I also tried to install the model zoo from wheels (https://docs.openvino.ai/2023.3/omz_python_model_api.html), and tried to install openvino from archive (https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html).
I also added
/path/to/env/lib/python3.10/site-packages/openvino/libs
to both path and pythonpath.Independently from the combination of steps, when I try to run
from openvino.model_zoo.model_api.models import SSD
I always get the following error:
ModuleNotFoundError: No module named 'openvino.model_zoo'
Note that I can import
openvino
, it's just the openvino.model_api that doesn't work. If it's of any help, following the same steps on my local windows machine works without any problem: I just don't seem to be able to set it up on ubuntu...Here the output of
pip show openvino
, in case it's helpful to debug the problem:The text was updated successfully, but these errors were encountered: