安装Opencv-Python和-- Trying ‘MinGW Makefiles‘ generator - failure错误的解决办法

在Python中安装Opencv-Python经常会出现莫名其妙的安装错误,如下:

(yolov5_deepsort) F:\huaweiOBS\Smart-Transportation-System-main>pip install opencv-python -i https://pypi.doubanio.com/simple/
Looking in indexes: https://pypi.doubanio.com/simple/
Collecting opencv-python
  Using cached https://mirrors.cloud.tencent.com/pypi/packages/4a/e7/b70a2d9ab205110d715906fc8ec83fbb00404aeb3a37a0654fdb68eb0c8c/opencv-python-4.10.0.84.tar.gz (95.1 MB)      
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.13.3 in f:\anaconda\install1\envs\yolov5_deepsort\lib\site-packages (from opencv-python) (1.19.2)
Building wheels for collected packages: opencv-python
  Building wheel for opencv-python (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: 'F:\anaconda\install1\envs\yolov5_deepsort\python.exe' 'F:\anaconda\install1\envs\yolov
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值