用python安装opencv-python提示报:ModuleNotFoundError: No module named ‘skbuild’
在终端输入:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple scikit-build
安装完成后,再次安装opencv-python发现还会会报错:
Problem with the CMake installation, aborting build. CMake executable is cmake
大致的意思是:CMake安装有问题,正在中止构建。
然后在终端输入:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple cmake
再次尝试,opencv-python安装成功