The problem

Pip3 install opencv-python on aARCH64

The File "/ usr/local/lib/python3.6 / dist - packages/skbuild/cmaker py", line 82, in get_cmake_version "Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable) Traceback (most recent call last): Problem with the CMake installation, aborting build. CMake executable is cmakeCopy the code

why

PIP install cmake is required to install opencV in aARCH64, but the cmake program in pypi is x86

The solution

Apt install cmake PIP install cmake ln - sf/usr/bin/cmake/usr/local/lib/python3.6 / dist - packages/cmake/data/bin/cmake ln - sf/usr/bin/cmake/usr/local/lib/python3.6 / dist - packages/cmake/data/bin/ctest ln - sf/usr/bin/cmake / usr/local/lib/python3.6 / dist - packages/cmake/data/bin/cpackCopy the code