关于Python from VideoCapture import Device 报错的解决方法

from VideoCapture import Device  

下载附件中的文件

安装发放如下:

To make use of VideoCapture just copy the files from the 'PythonXX' folder to the corresponding folders of your 'PythonXX' installation, where XX must match with the version of Python you have installed on your system.



根据你的python版本,选择目录下的文件夹,直接复制粘贴,合并文件夹就ok了。

attention:

1、安装结束这些,会有 raise NotImplementedError("fromstring() has been removed. " +"Please call frombytes() instead.")报错。

需要修改一个东西,就是跳转到这个位置,把fromstring() 改成frombytes()就行了。


2、紧接着会提示安装PIL

直接pip install Pillow就ok。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值