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
PIL TypeError #122
Comments
Hi Phil,
|
Downgrading PIL stopped it from crashing but all the values are incorrect. The windows version, a little older, gets most of the snips right. The other questions, that might help others: My Display is 13.3 with a resolution of 2560 x 1600
Thanks |
What do you mean by that?
Just to be sure with which PIL version did you execute this? Can you also post the result for the other one? |
I got the MacBook few months ago but was using the application on windows for much longer and I still have all the data from the windows version. I copy it over to my mac and redo everything again and see what happens. I downgraded the PIL version to 9.0.1 just like suggested. The result of PIL 9.1.0 was posted in the initial post. The values from the code snippets didn't change. |
That shouldn't help. The correct way to install the repo has changed since you first started using it. You can simply call The problem is definitely related to the retina display. Can you also tell me what the result is of from screeninfo import get_monitors
print(get_monitors()) and also import tkinter as tk
root = tk.Tk()
print(root.winfo_screenwidth(), root.winfo_screenheight()) One of the two libraries ( |
The update installs/updates Pillow to 9.1.0 which results in the error from the beginning. I'll keep using it on windows for now. |
But have you tried the latest version? I think it might work for you. |
No I haven't tried it yet, since misread some of the post. Didn't know that pix2tex is now a module. I'll try it tomorrow. |
I'm closing this for now. Feel free to reopen if the issue persists |
Hi,
I constantly get a TypeError when trying to run gui.py.
Pix2Tex works, even though I get an unsupported hardware notification.
I'm on a M1 MacBook Air. Any help would be great.
Kind regards
The text was updated successfully, but these errors were encountered: