New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pillow Version #315
Comments
I had the same issue, and I also resolved it by downgrading the version. I used the following command to install the libraries specified in the requirements.txt file: pip install -r requirements.txt The contents of the requirements.txt file were: pillow>=7.0.0 When I checked my installed Python libraries, the version of pillow was 10.1.0. To resolve the issue, I downgraded it using the command: pip install pillow==9.5.0 After this, I confirmed that everything was working correctly. Requirement already satisfied: pillow>=7.0.0 in c:\anaconda3\envs\gigabitamin\lib\site-packages (from -r requirements.txt (line 1)) (10.1.0) In my case, attempting to install via requirements.txt while pillow was already installed didn't automatically trigger the downgrade. It seems to have caused an issue because the installed version was the problematic latest version. For situations like this, it would be helpful to have a warning in the installation message, suggesting a downgrade. |
@gigabitamin It looks like they fixed the issue with this PR but its yet to be merged. I assume that this will be merged for future releases and having a warning message might not be necessary. |
This issue is fixed in git master, so it can be closed. |
Hello,
So i recently install trdg and was running into this issue when using the text generators:
Turns out that
Pillow 10
got rid of this method as noted by this tensorflow post. Updating the requirements file topillow<=9.5.0
fixes the issue.Thanks,
Zack
The text was updated successfully, but these errors were encountered: