接着遇到了
Traceback (most recent call last):
File "/home/featurize/work/pdf-extractor/pdf_extract.py", line 18, in
from unimernet.common.config import Config
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/init.py", line 18, in
from unimernet.tasks import *
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/tasks/init.py", line 10, in
from unimernet.tasks.unimernet_train import UniMERNet_Train
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/tasks/unimernet_train.py", line 11, in
from torchtext.data import metrics
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/init.py", line 18, in
from torchtext import _extension # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 64, in
_init_extension()
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 58, in _init_extension
_load_lib("libtorchtext")
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 50, in _load_lib
torch.ops.load_library(path)
File "/environment/miniconda3/lib/python3.11/site-packages/torch/_ops.py", line 1361, in load_library
ctypes.CDLL(path)
File "/environment/miniconda3/lib/python3.11/ctypes/init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /environment/miniconda3/lib/python3.11/site-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs
因为在安装detect2的时候ssl无法拉取whl,所以直接下载了whl进行安装,但是依然无法解决,然后我尝试去看是否是模型有更新,发现在modelScope上最近一周也没有更新
上一周在windows上运行稳定,最近使用Mac时,遇到了安装的问题,首先是 ,然后执行了
接着遇到了 Traceback (most recent call last): File "/home/featurize/work/pdf-extractor/pdf_extract.py", line 18, in
from unimernet.common.config import Config
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/init.py", line 18, in
from unimernet.tasks import *
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/tasks/init.py", line 10, in
from unimernet.tasks.unimernet_train import UniMERNet_Train
File "/environment/miniconda3/lib/python3.11/site-packages/unimernet/tasks/unimernet_train.py", line 11, in
from torchtext.data import metrics
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/init.py", line 18, in
from torchtext import _extension # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 64, in
_init_extension()
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 58, in _init_extension
_load_lib("libtorchtext")
File "/environment/miniconda3/lib/python3.11/site-packages/torchtext/_extension.py", line 50, in _load_lib
torch.ops.load_library(path)
File "/environment/miniconda3/lib/python3.11/site-packages/torch/_ops.py", line 1361, in load_library
ctypes.CDLL(path)
File "/environment/miniconda3/lib/python3.11/ctypes/init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /environment/miniconda3/lib/python3.11/site-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs
因为在安装detect2的时候ssl无法拉取whl,所以直接下载了whl进行安装,但是依然无法解决,然后我尝试去看是否是模型有更新,发现在modelScope上最近一周也没有更新