Building wheel for opencv-python (pyproject.toml) ,安装命令增加 --verbose 参数

发布时间 2023-05-09 23:09:34作者: VipSoft

Mac 安装 paddlehub 出现

Building wheels for collected packages: opencv-python, ffmpy, jieba, seqeval, future
  Building wheel for opencv-python (pyproject.toml) ... 

image

解决方法

pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple --verbose

发现后端确实一直在运行,由于OpenCV体积较大,编译时间较长,导致不显示安装进度的化,前端出现假死现象,静静等待即可。
image