nadermx / backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
https://www.backgroundremoverai.com
MIT License
6.69k stars 556 forks source link

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #111

Closed Alex-Bujorianu closed 9 months ago

Alex-Bujorianu commented 10 months ago

The ANTIALIAS field was removed in Pillow versions 10.0 and above.

nadermx commented 9 months ago

run pip install --upgrade moviepy https://github.com/Zulko/moviepy/commit/e163cf53a4d9d82a5697ee8d02099f91dc241cc9

LineCatOvO commented 9 months ago

While I also tried update moviepy to the latest, it is still calling error, I changed that to LANCZOS manually and now it seems working fine. I now see that change above, why my pip shows the current is latest...

nadermx commented 9 months ago

I believe so, which is odd though as moviepy seems to have have a added try except already for it. So maybe they didn't bump the version to the commit I showed.

On Tue, Dec 5, 2023, 11:53 PM LineCatOvO @.***> wrote:

While I also tried update moviepy to the latest, it is still calling error, I changed that to LANCZOS manually and now it seems working fine. Well this might be a bug of moviepy?

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/111#issuecomment-1842134778, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXDFGDRL74M7ED75YTDYIAB45AVCNFSM6AAAAAA73AGB3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGEZTINZXHA . You are receiving this because you modified the open/close state.Message ID: @.***>