Raspberry pi 3, Stretch
I too am trying to install OPENCV with out Virtualenv because the Pi is dedicated to OPENCV3.3.1 and Python 3.
I have installed OPENCV3.3.1 before using virtualenv with no problems.
However, I am getting an issue. Opencv builds only to python 2.7 even though I have change to default python 2.7 to python 3 by using :
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
in my self-written configuration script script.
$ python --version
which is what I want.
After the BUILD, I pause my script ( using a read) to observe the build output.
The entries for python2.7 are there but only one entry for Python3 showing where the python3 is located..
I have a feeling that although python --version gives me python 3.5 I am not really in the full python3 environment.
I keep getting
replace opencv_contrib-3.3.1/.gitattributes? [y]es, [n]o, [A]ll, [N]one, [r]ename: N
replace opencv-3.3.1/.tgitconfig? [y]es, [n]o, [A]ll, [N]one, [r]ename: N
--2018-03-11 15:35:05-- https://github.com/Itseez/opencv_contri ... /3.3.1.zip
Any help on these two issues?
PS: I do hope that python 3 gets made to be the default Python very very soon - Python2 is old hat /b]