Problem with GUI.
Author: Niki1152Created May 21, 2025Updated Jan 13, 2026
If I try to use the GUI after installation with pip install pix2tex[gui],
I also tried pip install "pix2tex[gui]".
and start the program with
Console: pix2tex_gui.exe
or
Console: latexocr
I get the same answer every time:
File 'C:\Users\AppData\Local\Programs\Python\Python313\Lib\site-packages\antlr4\Lexer.py', line 12, in <module>
from typing.io import TextIO
ModuleNotFoundError: No module named 'typing.io'; 'typing' is not a packageAnd yes, I have PyTorch installed. Is there something I can do to use the GUI? The CLI is working...
Source: lukas-blecher/LaTeX-OCR