Installing OpenCV 3.3.0 on Ubuntu 16.04 LTS
Linh Nguyen
25711

I did follow your code for the most part other than the virtualenv part. Somehow `/usr/local/lib/python3.5/site-packages/` directory don’t exist and there’s nothing like what you have as`cv2.cpython-35m-x86_64-linux-gnu.so`.

Do have any idea about where I went wrong?

PS: This may help you.

— OpenCV modules:
 — To be built: core flann imgproc ml objdetect phase_unwrapping photo plot reg surface_matching video xphoto bgsegm dnn face freetype fuzzy img_hash imgcodecs shape videoio xobjdetect highgui superres ts bioinspired dpm features2d line_descriptor saliency text calib3d ccalib datasets rgbd stereo structured_light tracking videostab xfeatures2d ximgproc aruco optflow stitching
 — Disabled: world contrib_world
 — Disabled by dependency: -
 — Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz cnn_3dobj cvv dnn_modern hdf matlab sfm
 — 
 — GUI: 
 — QT: NO
 — GTK+ 3.x: YES (ver 3.18.9)
 — GThread : YES (ver 2.48.2)
 — GtkGlExt: NO
 — OpenGL support: NO
 — VTK support: NO
 — 
 — Media I/O: 
 — ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
 — JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
 — WEBP: build (ver encoder: 0x020e)
 — PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54)
 — TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42–4.0.6)
 — JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
 — OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2.2.0)
 — GDAL: NO
 — GDCM: NO
 — 
 — Video I/O:
 — DC1394 1.x: NO
 — DC1394 2.x: YES (ver 2.2.4)
 — FFMPEG: YESDo have any idea about where I went wrong?
 — avcodec: YES (ver 56.60.100)
 — avformat: YES (ver 56.40.101)
 — avutil: YES (ver 54.31.100)
 — swscale: YES (ver 3.1.101)
 — avresample: YES (ver 2.1.0)
 — GStreamer: 
 — base: YES (ver 1.8.3)
 — video: YES (ver 1.8.3)
 — app: YES (ver 1.8.3)
 — riff: YES (ver 1.8.3)
 — pbutils: YES (ver 1.8.3)
 — OpenNI: NO
 — OpenNI PrimeSensor Modules: NO
 — OpenNI2: NO
 — PvAPI: NO
 — GigEVisionSDK: NO
 — Aravis SDK: NO
 — UniCap: NO
 — UniCap ucil: NO
 — V4L/V4L2: NO/YES
 — XIMEA: NO
 — Xine: NO
 — Intel Media SDK: NO
 — gPhoto2: YES
 — 
 — Parallel framework: pthreads
 — 
 — Trace: YES (with Intel ITT)
 — 
 — Other third-party libraries:
 — Use Intel IPP: 2017.0.2 [2017.0.2]
 — at: /home/foo/opencv-3.3.0/build/3rdparty/ippicv/ippicv_lnx
 — Use Intel IPP IW: prebuilt binaries (2017.0.2)
 — Use Intel IPP Async: NO
 — Use VA: NO
 — Use Intel VA-API/OpenCL: NO
 — Use Lapack: NO
 — Use Eigen: NO
 — Use Cuda: NO
 — Use OpenCL: YES
 — Use OpenVX: NO
 — Use custom HAL: NO
 — 
 — OpenCL: <Dynamic loading of OpenCL library>
 — Include path: /home/foo/opencv-3.3.0/3rdparty/include/opencl/1.2
 — Use AMDFFT: NO
 — Use AMDBLAS: NO
 — 
 — Python 2:
 — Interpreter: NO
 — 
 — Python 3:
 — Interpreter: (ver 3.5.2)
 — 
 — Python (for build): 
 — 
 — Java:
 — ant: NO
 — JNI: NO
 — Java wrappers: NO
 — Java tests: NO
 — 
 — Matlab: Matlab not found or implicitly disabled
 — 
 — Documentation:
 — Doxygen: NO
 — 
 — Tests and samples:
 — Tests: YES
 — Performance tests: YES
 — C/C++ Examples: YES
 — 
 — Install path: /usr/local
 — 
 — cvconfig.h is in: /home/foo/opencv-3.3.0/build
 — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — -