Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Raymond
Employee
1,344 Views

Bug: setupvar.sh Error for 2021.1

Jump to solution

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 Kudos
1 Solution
Raymond
Employee
1,340 Views
 

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#...

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

View solution in original post

3 Replies
Raymond
Employee
1,341 Views
 

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#...

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

View solution in original post

IntelSupport
Community Manager
1,325 Views

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
Community Manager
1,239 Views

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


Reply