- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I am currently running into the issue that if I start a Docker container on a Raspberry Pi this way
docker run --privileged -v /dev:/dev -it --rm <docker image>
and run an application inside that should utilize the Neural Compute Stick, I get the following error:
E: [ncAPI] [ 160605] [python3] ncDeviceOpen:844 Failed connection to device (1.1.3-ma2450) with error 7
Traceback (most recent call last):
File "run.py", line 35, in <module>
exec_net = plugin.load(network=net, num_requests=2)
File "ie_api.pyx", line 551, in openvino.inference_engine.ie_api.IEPlugin.load
File "ie_api.pyx", line 561, in openvino.inference_engine.ie_api.IEPlugin.load
If it try to run the application inside the Docker container as root, I get the following error:
Traceback (most recent call last):
File "run.py", line 7, in <module>
from openvino.inference_engine import IENetwork, IEPlugin
ImportError: No module named 'openvino'
Did anyone else run into similar problems or would someone have an idea what I could do to fix this? Any help would be appreciated!
Thanks and kind regards,
Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah it looks like you are just missing the command to set up the environment.
inside of the openvino installation directory (normally /opt/intel/openvino) there is a bin folder that should contain setupvars.sh
You will need to source that file before running any application using openvino.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah it looks like you are just missing the command to set up the environment.
inside of the openvino installation directory (normally /opt/intel/openvino) there is a bin folder that should contain setupvars.sh
You will need to source that file before running any application using openvino.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much, that solved my problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Kunjavskij, Igor,
Glad it solved your problem and thanks for reporting back to the OpenVino community !
Shubha
![](/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