首先确定是否安装了pillow,若没有输入以下命令安装: 1 sudo pip3 install pillow 然后,再跑一边代码,看是否还会出现错误。若还有错误,更新pillow到最新版本: 1 sudo pip3 install -U pillow
Pillow covers the bulk of it and the rest will soon be covered by our new rawpy plugin (PR here). Since this will provide us with coverage of all supported formats, and considering the lack of development on the FreeImage side, the better thing to do would be to deprecate the FreeImage...
Cleanly determine write format in pillow (#752) (8cba510) v2.16.1 (2022-02-28) Fix Ignore TIFF XResolution or YResolution with 0 in the denominator. (#753) (6b44a1b) Other Add section on freezing (#759) (7699e32) Update "python_requires" to 3.7+ (#757) (f80f068) v2.16.0 (...
When running the test suite against NumPy 2.0.0rc1, I'm getting the following test failures (and warnings): === test session starts ===....