- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to update the openvino version from 2021 version to the latest 2023.0.0 in the WasmEdge repository but i am getting this error "line 19: /opt/intel/openvino_2023/bin/setupvars.sh: No such file or directory" . Any suggestions How I can fix this. https://github.com/WasmEdge/WasmEdge/pull/2636 I have also linked the PR from github.
I was expecting the script to run without errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So my problem got solved actually I was mixing the installation steps via archive method and apt method. In the apt-method we don't need the "RUN . ./opt/intel/openvino_2023/setupvars.sh". This command was only meant for installation through archive method. So I basically removed the command and now everything is working fine.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Diyyanshu506,
Thanks for reaching out.
How did you install the OpenVINO 2023 version? If you are installing the OpenVINO from an Archive File, the setupvars should be in this directory: /opt/intel/openvino_2023/setupvars.sh
If you have installed OpenVINO before, you probably have added setupvars to your PATH /.bashrc. After restarting your environment, you should see similar information as below:
[setupvars.sh] OpenVINO™ environment initialized
If you don’t see the information above, your PATH variables may be configured incorrectly.
Check if you have typed the correct <INSTALL_DIR> or you are trying to activate in the correct directory.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to install it through the apt method.
I created the following Dockerfile to verify it locally.
#17 [14/15] RUN . ./opt/intel/openvino_2023/setupvars.sh
#17 0.407 /bin/sh: 1: .: Can't open ./opt/intel/openvino_2023/setupvars.sh
#17 ERROR: process "/bin/sh -c . ./opt/intel/openvino_2023/setupvars.sh" did not complete successfully: exit code: 127
------
> [14/15] RUN . ./opt/intel/openvino_2023/setupvars.sh:
0.407 /bin/sh: 1: .: Can't open ./opt/intel/openvino_2023/setupvars.sh
------
Dockerfile:19
--------------------
17 | RUN apt update
18 | RUN apt install -y openvino
19 | >>> RUN . ./opt/intel/openvino_2023/setupvars.sh
20 | RUN ldconfig
21 |
--------------------
ERROR: failed to solve: process "/bin/sh -c . ./opt/intel/openvino_2023/setupvars.sh" did not complete successfully: exit code: 127
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Diyyanshu506,
Can you try running the apt list --installed | grep openvino to check the installed package and version on your system?
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So my problem got solved actually I was mixing the installation steps via archive method and apt method. In the apt-method we don't need the "RUN . ./opt/intel/openvino_2023/setupvars.sh". This command was only meant for installation through archive method. So I basically removed the command and now everything is working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Diyyanshu506,
I'm glad to hear that and thanks for sharing your workaround in this community. This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Aznie
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page