Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(hal_internal.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_clamdblas.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_clamdfft.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_core.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(parallel_impl.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(stl.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_kernels_core.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(hal_internal.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_clamdblas.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_clamdfft.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_core.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(parallel_impl.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(stl.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_core.a(opencl_kernels_core.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_ml.a(gbt.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_ml.a(gbt.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgproc.a(main.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgproc.a(opencl_kernels_imgproc.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgproc.a(main.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgproc.a(opencl_kernels_imgproc.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_photo.a(opencl_kernels_photo.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_photo.a(opencl_kernels_photo.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_exr.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_gdal.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_gdcm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_hdr.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_jpeg2000.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_jpeg2000_openjpeg.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pam.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pfm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pxm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_sunras.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_tiff.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_webp.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_exr.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_gdal.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_gdcm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_hdr.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_jpeg2000.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_jpeg2000_openjpeg.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pam.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pfm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_pxm.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_sunras.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_tiff.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_imgcodecs.a(grfmt_webp.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(dynamic.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(main.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(opencl_kernels_features2d.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(dynamic.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(main.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../../../lib/libopencv_features2d.a(opencl_kernels_features2d.cpp.o) has no symbols clang: error: unable to execute command: Terminated: 15 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple LLVM version 10.0.1 (clang-1001.0.46.3) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/posit.cpp.o] Terminated: 15 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ptsetreg.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/quadsubpix.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/rho.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/solvepnp.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereosgbm.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereobm.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o] Terminated: 15 make[1]: *** [source_subfolder/modules/calib3d/CMakeFiles/opencv_calib3d.dir/all] Terminated: 15 make: *** [all] Terminated: 15 ERROR: Exiting with code: 5