marker
marker copied to clipboard
ImportError: Failed to load PyTorch C extensions
when trying to run marker_gui I receive the following error. Please tell me I don't have to compile PyTorch.
File "/home/mctouch/miniconda3/envs/pdfparse/lib/python3.11/site-packages/torch/init.py", line 749, in torch/_C folder
of the PyTorch repository rather than the C extensions which
are expected in the torch._C namespace. This can occur when
using the install workflow. e.g.
$ python setup.py install && python -c "import torch"
This error can generally be solved using the `develop` workflow
$ python setup.py develop && python -c "import torch" # This should succeed
or by running Python from a different directory.