chn-lee-yumi / MaterialSearch

AI语义搜索本地素材。以图搜图、查找本地素材、根据文字描述匹配画面、视频帧搜索、根据画面描述搜索视频。Semantic search. Search local photos and videos through natural language.
GNU General Public License v3.0
863 stars 117 forks source link

不支持pillow 10.1.0 #39

Closed cuiyan1989 closed 1 year ago

cuiyan1989 commented 1 year ago

安装GPU支持的时候提示: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. imageio 2.31.6 requires pillow<10.1.0,>=8.3.2, but you have pillow 10.1.0 which is incompatible.

chn-lee-yumi commented 1 year ago

如果在被回复前已自行解决问题,推荐留下解决步骤,赠人玫瑰,手有余香。

cuiyan1989 commented 1 year ago

抱歉,没有留下解决防范就关闭了issues。出现错误的原因是:

这个错误是由于包依赖关系冲突导致的。具体而言,imageio 要求安装的是 pillow 版本小于 10.1.0 且大于等于 8.3.2,但你的环境中已经安装了 pillow 的 10.1.0 版本,这两个版本不兼容。

解决方案: 降级 pillow: pip install pillow==8.3.2

重新再次安装GPU依赖就可以了。