Skip to content
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

Cant run with conda #341

Open
Drakler opened this issue Dec 3, 2023 · 3 comments
Open

Cant run with conda #341

Drakler opened this issue Dec 3, 2023 · 3 comments

Comments

@Drakler
Copy link

Drakler commented Dec 3, 2023

1 error its like ((( C:\LaTeX-OCR-0>latexocr
Traceback (most recent call last):
File "\?\C:\Users\Enis\miniconda3\Scripts\latexocr-script.py", line 33, in
sys.exit(load_entry_point('pix2tex==0.0.31', 'console_scripts', 'latexocr')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Enis\miniconda3\Lib\site-packages\pix2tex_main_.py", line 25, in main
from .gui import main
File "C:\Users\Enis\miniconda3\Lib\site-packages\pix2tex\gui.py", line 7, in
from PyQt6 import QtCore, QtGui
ImportError: DLL load failed while importing QtCore: The specified procedure could not be found. )))

andd

error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib -- failed with code 101
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

@54lH
Copy link

54lH commented Dec 3, 2023

similar issue here.
(base) C:\Users\hliangap>latexocr
Traceback (most recent call last):
File "C:\Users\hliangap\AppData\Local\miniconda3\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\hliangap\AppData\Local\miniconda3\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\hliangap\AppData\Local\miniconda3\Scripts\latexocr.exe_main
.py", line 7, in
File "C:\Users\hliangap\AppData\Local\miniconda3\lib\site-packages\pix2tex_main
.py", line 25, in main
from .gui import main
File "C:\Users\hliangap\AppData\Local\miniconda3\lib\site-packages\pix2tex\gui.py", line 7, in
from PyQt6 import QtCore, QtGui
ImportError: DLL load failed while importing QtCore: The specified procedure could not be found.

@SWHL
Copy link

SWHL commented Dec 5, 2023

@54lH From the message, it appears that pyqt was not successfully installed.

@STEVENTAN100
Copy link

pip list and you can find imcopatible of pyqt6 and pyqt6-qt6, I think it's the problem of qt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants