1_使用face_recognition模块:错误AttributeError:'PngStream' object has no attribute 'chunk fcWp'(20190223)

版权声明:本文为博主原创文章,转载而不修改内容请留言告知,转载并修改内容请与我联系 https://blog.csdn.net/weixin_41010198/article/details/86609099

使用face_recognition模块:错误AttributeError:'PngStream'object has no attribute 'chunk fcWp'(20190223)

文章目录:


说明:在使用face_recognition进行人脸识别,过滤人脸的时候报的错误


一、错误:AttributeError:‘PngStream’ object has no attribute ‘chunk fcWp’

在这里插入图片描述

二、解决方式

1、原因分析:

这个错误是由于pillow(图像处理模块)的版本造成的,可能是版本过高,降低版本即可

2、解决方法:

把pillow的版本从 5.4.1 降低到4.2.1 问题完美解决

pip install pillow==4.2.1 

猜你喜欢

转载自blog.csdn.net/weixin_41010198/article/details/86609099