latexocr 错误
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() 追踪到此错误: 文件 "<frozen runpy>", 行 198, 在 _run_module_as_main 中 文件 "<frozen runpy>", 行 88, 在 _run_code 中 文件 "D:\venv\venv_pix2tex\Scripts\latexocr.exe\__main__.py", 行 7, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\__main__.py", 行 25, 在 main 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\gui.py", 行 19, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\cli.py", 行 1, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\pix2tex\dataset\transforms.py", 行 2, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\albumentations\pytorch\__init__.py", 行 1, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\albumentations\pytorch\transforms.py", 行 6, 在 <module> 中 导入 torch 文件 "D:\venv\venv_pix2tex\Lib\site-packages\torch\__init__.py", 行 281, 在 <module> 中 文件 "D:\venv\venv_pix2tex\Lib\site-packages\torch\__init__.py", 行 264, 在 _load_dll_libraries 中 发生 OSError: [WinError 1114] 动态链接库(DLL)初始化例程失败。 Error loading "D:\venv\venv_pix2tex\Lib\site-packages\torch\lib\c10.dll" or one of its dependencies.
内容来源: lukas-blecher/LaTeX-OCR