-
Notifications
You must be signed in to change notification settings - Fork 135
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
TypeError: a bytes-like object is required, not 'str' #36
Comments
I have similar problem whenever I try to read emails. I am using python 3.9
TypeError Traceback (most recent call last) ~/Downloads/outlook-master/outlook.py in unread(self) ~/Downloads/outlook-master/outlook.py in unreadIds(self) TypeError: a bytes-like object is required, not 'str' Thanks |
you shuld ues py2.7 replace all split like this. |
Yes, it is about the version of Python. If u are at 3.x, u can also use 'decode()' to covert byte to str. |
how to fix it ?
The text was updated successfully, but these errors were encountered: