- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I am trying to inference inside openvino with Intel python distribution using the following Command, but it throws error: ModuleNotFoundError: No module named '_pyngraph'
Openvino Version: 2021.1
Intel Python Distribution: Python 3.7.7 :: Intel Corporation
Error:
python object_detection_sample_ssd.py -m /home/ubuntu/Documents/Simran/frozen_inference_graph.xml -i /home/ubuntu/Documents/Simran/images/images_2_134.jpg
/home/ubuntu/Downloads/intelpython3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.ie_api' does not match runtime version 3.7
return f(*args, **kwds)
/home/ubuntu/Downloads/intelpython3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.constants' does not match runtime version 3.7
return f(*args, **kwds)
Traceback (most recent call last):
File "object_detection_sample_ssd.py", line 26, in <module>
import ngraph as ng
File "/opt/intel/openvino_2021/python/python3.6/ngraph/__init__.py", line 26, in <module>
from ngraph.impl import Node
File "/opt/intel/openvino_2021/python/python3.6/ngraph/impl/__init__.py", line 35, in <module>
from _pyngraph import Dimension
ModuleNotFoundError: No module named '_pyngraph'
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Simran,
Thank you for posting in Intel Distribution for Python forum. We're trying it out from our end. We'll get back to you shortly.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Simran
This issue seems to be related to Openvino. We've a separate forum for Openvino toolkit. So we're moving this case to Openvino toolkit forum for faster response.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
Usually, these kind of error persist when the setupvars is not initiated. Please note that you need to run it each time you open a new terminal/cmd. Better if you could set it up permanently.
Ensure that you are able to run the demo as in this tutorial: https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_linux.html
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Sincerely,
Iffa

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page