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?
Your github reference comes as a surprise! I have used the reference:
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.
John. S. Lawton
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.
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
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"
cat /etc/os-release reports as follows:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
Many thanks for your help - I guess the option is not required?
>>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.
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.