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
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 | pillow 8.4.0 #5865
Comments
0xe7 is ç. I'm guessing that you have that in a path on your filesystem? Maybe in the name of your home directory? If I'm right, could you copy and paste one such path here? |
I've created PR #5870 to fix this. Would you mind testing it? |
Thanks, I haven't tested the PR, but I could resolve this issue by upgrading the setuptools. |
@thachdo Good to hear, do you know what versions of setuptools you had before and now? |
Not sure before but now is '59.4.0' |
Thanks, I guess it could have been a bit old if Python 3.6 is being used (by the way, 3.6 is EOL this month and is dropped in the next Pillow release). Systems with Python 3.7 are likely to have newer setuptools. Maybe we don't need #5870 seeing as updating setuptools fixed it, depending on how old setuptools was. But it's probably good to fix anyway. Do we know what character caused the problem? I'm guessing a non-ASCII character from the path? |
My home path: /home/thachdo |
#5870 has now been merged. |
I got the following error while installing 8.4.0:
The text was updated successfully, but these errors were encountered: