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.

OpenVINO on raspian stretch

Lawton__John
Beginner
1,780 Views

Hi

I am installing the OpenVINO tool kit on raspian stretch according to /articles/OpenVINO-install-RaspberryPi.

I have a clean updated raspian stretch installation.

Execution of the shell script returns

[ setupvars.sh] 64 bitness for Python 3.5 is Required

How do I resolve this requirement?

Help appreciated

                                   Stewart 

0 Kudos
7 Replies
Shubha_R_Intel
Employee
1,780 Views
0 Kudos
Lawton__John
Beginner
1,780 Views

Hi Shuba

Your github reference comes as a surprise! I have used the reference:

https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI

and completed to end of section 'Set the Environment Variables' this rerturns

'[ setupvars.sh] 64 bitness for Python 3.5 is Required', message  from the setupvars script file execution.

 

I think the reference you give concerns setting up opencv on raspian-stretch (please see Ref1 below, with the text taken from the github files). Since I loaded the OpenVINO distro very recently I think (though am I wrong?) that the OpenCV requirement is satisfied. 

I think ( though am I wrong?)  that the Windows10 Python 3 installation requires Python3 with 64 bit. Does this requirement also apply to the raspian-stretch installation? If so is there a python3 with 64bitness available for raspberrypi3 with raspian-stretch?

I am grateful for your comments and would very much appreciate your  expanded account on this query.

Thank you

                       John. S. Lawton

Ref1

OpenCV from OpenVINO

OpenVINO 2018 R2 and later comes with OpenCV built with DL IE support, so you can skip this step if you use fresh enough version.

 

0 Kudos
om77
New Contributor I
1,780 Views

John,

did you check the root cause of this message in inference_engine_vpu_arm/bin/setupvars.sh ?

From the distribution l_openvino_toolkit_ie_p_2018.5.445.tgz which I have this echo line shouldn't be triggered if you have Raspbian 9.

if [ "$python_bitness" != "" ] && [ "$python_bitness" != "64" ] && [ "$OS_NAME" != "Raspbian" ]; then
    echo "[setupvars.sh] 64 bitness for Python" $python_version "is requred"
fi

What is the output of

$ cat /etc/os-release

?

0 Kudos
Keady__Thomas
Beginner
1,780 Views

Hello, I am having the same problem as John Lawton, but found a solution elsewhere. First, if it helps, I am running Raspbian Stretch on a 3B V1.2. The result of cat /etc/os-release is 

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

For me, running Richard's script here (found using this Intel forum thread) worked. 

0 Kudos
Lawton__John
Beginner
1,780 Views

om77,

Hi 

cat /etc/os-release reports as follows:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Many thanks for your  help  - I guess the option is not required?

Cheers

              John. S.Lawton


 

 

 

0 Kudos
om77
New Contributor I
1,780 Views

John,

>>I guess the option is not required?

Yes, exactly. As far as I know, the only existing package for Raspberry is of architecture armv7l one (32 bits, armhf).

But this message triggering means some issue with your installation setup. So I would investigate what is wrong with setupvars.sh variables INSTALLDIR and OS_NAME. I vote that INSTALLDIR points to incorrect location.

0 Kudos
Lawton__John
Beginner
1,780 Views

Hi om77

Thank you for your suggestion. You are correct  - I also found the web ref below that also confirms what you suggested.A new Terminal window can now be launched that initialises using setupvars.sh but without python 64bitness complaint.

Thanks

                    John.S.Lawton

https://superuser.com/questions/1388854/openvino-installation-on-raspbian-usbboot-rules-file-issue

 

0 Kudos
Reply