使用python3.6時會報錯
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
pip更新
pip install --upgrade pip
但是發(fā)現(xiàn)更新完了之后還是沒用,因為主要原因是如果直接安裝opencv默認安裝最新版,此時找一個python3.6支持的版本就行了,如4.3.0.38,使用如下命令即可成功安裝文章來源地址http://www.zghlxwxcb.cn/news/detail-599381.html
pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38
文章來源:http://www.zghlxwxcb.cn/news/detail-599381.html
到了這里,關(guān)于解決opencv-python 安裝報錯 Could not build wheels for opencv-python的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!