标签:get anaconda for 更新 ima hand format file simple
使用pillow库jpg转到webp报错
File "F:\Anaconda\lib\site-packages\PIL\Image.py", line 1983, in save
save_handler = SAVE[format.upper()]
KeyError: 'WEBP'
卸载pillow,重装
pip install pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
版本从 5.x 更新到7.0.0
另外看到有些人重装还解决不了,需要安装 libwebp-dev
sudo apt-get install libwebp-dev
标签:get anaconda for 更新 ima hand format file simple
原文地址:https://www.cnblogs.com/lqerio/p/12539814.html