报错信息:
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
今天在笔记本上新建了一个python虚拟环境,需要安装opencv-python
命令如下:
pip install opencv-python==4.3.0.38
本以为没啥事,会安装成功,意想不到的是,报错了!
pip install opencv-python==4.5.5.62
上面报错的原因,应该是我电脑上没有Visual Studio有关
opencv-python==4.3.0.38和opencv-python==4.5.5.62两个包大小相差很大,里面的依赖应该不一样。