You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo apt-get install python3-setuptools
[sudo] password for xx:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-setuptools is already the newest version (68.1.2-2ubuntu1.1).
python3-setuptools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
lib/python3.12/site-packages/torchtext/data/init.py:4: UserWarning:
/!\ IMPORTANT WARNING ABOUT TORCHTEXT STATUS /!
Torchtext is deprecated and the last released version will be 0.18 (this one). You can silence this warning by calling the following at the beginnign of your scripts: import torchtext; torchtext.disable_torchtext_deprecation_warning()
warnings.warn(torchtext._TORCHTEXT_DEPRECATION_MSG)
Traceback (most recent call last):
File "project/pdf2markdown/scripts/run_project.py", line 5, in
from pdf2markdown import PDF2MARKDOWN
File "project/pdf2markdown/scripts/pdf2markdown.py", line 13, in
from pdf_extract_kit.tasks.ocr.task import OCRTask
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/init.py", line 5, in
from pdf_extract_kit.tasks.ocr.task import OCRTask
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/ocr/init.py", line 1, in
from pdf_extract_kit.tasks.ocr.models.paddle_ocr import ModifiedPaddleOCR
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/ocr/models/paddle_ocr.py", line 10, in
from paddleocr import PaddleOCR
File "lib/python3.12/site-packages/paddleocr/init.py", line 14, in
from .paddleocr import *
File "/lib/python3.12/site-packages/paddleocr/paddleocr.py", line 21, in
import paddle
File "lib/python3.12/site-packages/paddle/init.py", line 28, in
from .base import core # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^
File "lib/python3.12/site-packages/paddle/base/init.py", line 77, in
from . import dataset
File "lib/python3.12/site-packages/paddle/base/dataset.py", line 20, in
from ..utils import deprecated
File lib/python3.12/site-packages/paddle/utils/init.py", line 16, in
from . import ( # noqa: F401
File "lib/python3.12/site-packages/paddle/utils/cpp_extension/init.py", line 15, in
from .cpp_extension import (
File "lib/python3.12/site-packages/paddle/utils/cpp_extension/cpp_extension.py", line 21, in
import setuptools
ModuleNotFoundError: No module named 'setuptools'
The text was updated successfully, but these errors were encountered:
sudo apt-get install python3-setuptools
[sudo] password for xx:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-setuptools is already the newest version (68.1.2-2ubuntu1.1).
python3-setuptools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
lib/python3.12/site-packages/torchtext/data/init.py:4: UserWarning:
/!\ IMPORTANT WARNING ABOUT TORCHTEXT STATUS /!
Torchtext is deprecated and the last released version will be 0.18 (this one). You can silence this warning by calling the following at the beginnign of your scripts:
import torchtext; torchtext.disable_torchtext_deprecation_warning()
warnings.warn(torchtext._TORCHTEXT_DEPRECATION_MSG)
Traceback (most recent call last):
File "project/pdf2markdown/scripts/run_project.py", line 5, in
from pdf2markdown import PDF2MARKDOWN
File "project/pdf2markdown/scripts/pdf2markdown.py", line 13, in
from pdf_extract_kit.tasks.ocr.task import OCRTask
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/init.py", line 5, in
from pdf_extract_kit.tasks.ocr.task import OCRTask
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/ocr/init.py", line 1, in
from pdf_extract_kit.tasks.ocr.models.paddle_ocr import ModifiedPaddleOCR
File "project/pdf2markdown/scripts/../../../pdf_extract_kit/tasks/ocr/models/paddle_ocr.py", line 10, in
from paddleocr import PaddleOCR
File "lib/python3.12/site-packages/paddleocr/init.py", line 14, in
from .paddleocr import *
File "/lib/python3.12/site-packages/paddleocr/paddleocr.py", line 21, in
import paddle
File "lib/python3.12/site-packages/paddle/init.py", line 28, in
from .base import core # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^
File "lib/python3.12/site-packages/paddle/base/init.py", line 77, in
from . import dataset
File "lib/python3.12/site-packages/paddle/base/dataset.py", line 20, in
from ..utils import deprecated
File lib/python3.12/site-packages/paddle/utils/init.py", line 16, in
from . import ( # noqa: F401
File "lib/python3.12/site-packages/paddle/utils/cpp_extension/init.py", line 15, in
from .cpp_extension import (
File "lib/python3.12/site-packages/paddle/utils/cpp_extension/cpp_extension.py", line 21, in
import setuptools
ModuleNotFoundError: No module named 'setuptools'
The text was updated successfully, but these errors were encountered: