修复opencv包冲突

1、opencv和opencv-contrib冲突解决办法:

pip install opencv-contrib-python==3.4.11.45 --user

2、解决报错
Ignoring invalid distribution -illow
删除残缺包

3、module ‘PIL.Image’ has no attribute ‘Resampling’

pip install --upgrade pillow -i https://pypi.tuna.tsinghua.edu.cn/simple

你可能感兴趣的:(机器学习,opencv,python,人工智能)