Skip to content

latexocr error #436

@aig2ji9

Description

@aig2ji9

PS D:\venv> latexocr
D:\venv\venv_pix2tex\Lib\site-packages\albumentations_init_.py:24: UserWarning: A new version of Albumentations is available: 2.0.8 (you have 1.4.24). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
check_for_updates()
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "D:\venv\venv_pix2tex\Scripts\latexocr.exe_main
.py", line 7, in
File "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex_main
.py", line 25, in main
from .gui import main
File "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\gui.py", line 19, in
from pix2tex import cli
File "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\cli.py", line 1, in
from pix2tex.dataset.transforms import test_transform
File "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\dataset\transforms.py", line 2, in
from albumentations.pytorch import ToTensorV2
File "D:\venv\venv_pix2tex\Lib\site-packages\albumentations\pytorch_init_.py", line 1, in
from .transforms import *
File "D:\venv\venv_pix2tex\Lib\site-packages\albumentations\pytorch\transforms.py", line 6, in
import torch
File "D:\venv\venv_pix2tex\Lib\site-packages\torch_init_.py", line 281, in
load_dll_libraries()
File "D:\venv\venv_pix2tex\Lib\site-packages\torch_init
.py", line 264, in _load_dll_libraries
raise err
OSError: [WinError 1114] 动态链接库(DLL)初始化例程失败。 Error loading "D:\venv\venv_pix2tex\Lib\site-packages\torch\lib\c10.dll" or one of its dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions