ImportError: cannot import name _imaging April 25, 2023 by Tarik I had the same problem and I solved that by upgrading this package using the command below: pip install -U Pillow