報錯信息:
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
今天在筆記本上新建了一個python虛擬環(huán)境,需要安裝opencv-python
命令如下:
pip install opencv-python==4.3.0.38
本以為沒啥事,會安裝成功,意想不到的是,報錯了!
最暴力的解決辦法,換一個版本試試。。。。
pip install opencv-python==4.5.5.62
安裝成功,沒用報錯。。。文章來源:http://www.zghlxwxcb.cn/news/detail-511035.html
上面報錯的原因,應(yīng)該是我電腦上沒有Visual Studio有關(guān)文章來源地址http://www.zghlxwxcb.cn/news/detail-511035.html
opencv-python==4.3.0.38和opencv-python==4.5.5.62兩個包大小相差很大,里面的依賴應(yīng)該不一樣。
到了這里,關(guān)于【Bug】ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-ba的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!