Open VIRTUALWORLDHEAD0CAICAI opened 3 days ago
exactly same problem!do you fix that?
exactly same problem!do you fix that?
by the way,my pyqt6==6.6.1
exactly same problem!do you fix that?
by the way,my
pyqt6==6.6.1
my pyqt6 = = 6.7.1
same problem here
Traceback (most recent call last):
File "/home/alphara/.pyenv/versions/menu_gather/bin/latexocr", line 8, in
Neither pix2tex_gui or latexocr working
After downgrading the version of PySide6 to the same version of PyQt6==6.7.3, I resolved the issue.
From the issues “Conflinct between libraries PyQt6 and PySide6, when lunching the GUI #389”, they have give the solution. 在 envs\pytorch\Lib\site-packages\pix2tex\resources的路径,将resources\resources.py ,把“from PySide6 import QtCore”修复为“from PyQt6 import QtCore”
(p9) PS D:\LaTeX-OCR> latexocr
Traceback (most recent call last): File "C:\Users\50332\anaconda3\envs\p9\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\50332\anaconda3\envs\p9\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\50332\anaconda3\envs\p9\Scripts\latexocr.exe__main.py", line 7, in
File "C:\Users\50332\anaconda3\envs\p9\lib\site-packages\pix2tex\ main__.py", line 25, in main
from .gui import main
File "C:\Users\50332\anaconda3\envs\p9\lib\site-packages\pix2tex\gui.py", line 21, in
import pix2tex.resources.resources
File "C:\Users\50332\anaconda3\envs\p9\lib\site-packages\pix2tex\resources\resources.py", line 6, in
from PySide6 import QtCore
ImportError: DLL load failed while importing QtCore: 找不到指定的程序。