- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I am using Ubuntu 20.04 LTS OS on ARM*64 architecture. Following this article https://software.intel.com/content/www/us/en/develop/articles/arm64-sbc-and-ncs2.html I successfully installed Openvino on my device. However, when I call IECore in my scripts I got this error:
</from openvino.inference_engine import IECore
ModuleNotFoundError: No module named 'openvino'>
I found the setupvars.sh in ~/openvino/scripts/setupvars/setupvars.sh to activate Openvino environment, but I got this error also. I am trying to find openvino library and copy its to python PATH file, unfortunately I cannot find any openvino lib of arm64 architecture.
Any one got this problem? Please let me know if you have any solution.
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In additional, I checked my installation file, and I didn't find find this file:
<OpenVINO folder>/inference-engine/bin/intel64/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked all the folder in my device. However, I cannot find ie_api.so in python3.8 (I used default python in ubuntu 20.04 LST). I think the installation had some troubles. Any one has successfully installed Openvino and run the code with NSC2?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BuuVo,
Thank you for reaching out to us. Could you share which python version you are using ?
If possible, could you reinstall OpenVINO toolkit and verify the installation by running demo_benchmark_app.bat demo. The demo is in openvino/scripts/demo folder.
Please share and post any errors you found during installation and verification process here.
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My python version is 3.8.5.
I installed Openvino three times and I got no error. I also verify the installation of Openvino by running benchmark_app in cd ~/openvino/bin/aarch64/Release (Following the instruction of Arm*64 Single Board Computers and the Intel NSC2).
I will reinstall again and run the verification file that you recommended.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Buuvo,
Thank you for quick response. This issue might be due to Python 3.8 version is not fully supported by OpenVINO toolkit. If possible, I would recommend you to use Python 3.7 version.
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I mentioned above, if I want to use IECore, I must have ie_api.so. However, I cannot find this file on my device. Follow your answer, should I install python 3.7 and reinstall Openvino again? This may help me solve this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Buuvo,
I would suggest you to refer the following links. It may relates to ie_api issues.
https://github.com/openvinotoolkit/openvino/blob/master/inference-engine/ie_bridges/python/README.md
Yes, you should install python 3.7 version instead of python 3.8 version and reinstall OpenVINO toolkit.
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am successfully install ie_api.so. I found this find in (/openvino/bin/aarch64/Release/lib/python_api/python3.8/openvino/inference_engine/). However, I cannot import IECore in my python code. How can I active Openvino Environment to use IECore lib?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Buuvo,
If possible, please run the following script:
import sys from openvino.inference_engine import IECore ie=IECore() print("End of test")
If you encountered any errors, please share and post the log terminal here. Please be noted to activate the OpenVINO environment by running setupvars.sh command before running the mentioned script.
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It work on Python3.8 but when run without "sudo"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BuuVo,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Best regards,
Adli
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page