Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6592 ディスカッション

Bug: setupvar.sh Error for 2021.1

Ray_Lo_Intel
従業員
4,284件の閲覧回数

I am getting this error when I run the setupvars.sh command in 2021.1 release in Mac OSX. 

 

rlo@rlo-mac01 ~ % source /opt/intel/openvino_2021/bin/setupvars.sh

[setupvars.sh] ERROR: Can not find OpenVINO Python module for python3.7 by path /Users/python/python3.7

 

0 件の賞賛
1 解決策
Ray_Lo_Intel
従業員
4,280件の閲覧回数
 

I think it has to do with this command, and now the workaround is to set BASE_DIR manually. 

BASE_DIR="/opt/intel/openvino_2021"

 

https://docs.openvinotoolkit.org/2021.1/openvino_docs_install_guides_installing_openvino_macos.html#set-the-environment-variables

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
BASE_DIR="$( dirname "$SCRIPT_DIR" )"
BASE_DIR="/opt/intel/openvino_2021"

元の投稿で解決策を見る

3 返答(返信)
Ray_Lo_Intel
従業員
4,281件の閲覧回数
 

I think it has to do with this command, and now the workaround is to set BASE_DIR manually. 

BASE_DIR="/opt/intel/openvino_2021"

 

https://docs.openvinotoolkit.org/2021.1/openvino_docs_install_guides_installing_openvino_macos.html#set-the-environment-variables

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
BASE_DIR="$( dirname "$SCRIPT_DIR" )"
BASE_DIR="/opt/intel/openvino_2021"

IntelSupport
管理者
4,265件の閲覧回数

Hi Raymond,

We don't see the issue during the environment setup with OpenVINO 2021.1 even though the directory changed to /opt/intel/openvino_2021, but we glad that you are able to fix it now. Can you share which Python version you are using and how you installed it.

Regards,

Aznie

 

 

 

IntelSupport
管理者
4,179件の閲覧回数

Hi Raymond,


Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.


Regards,

Aznie


返信