installed via pip3 but get an error
Opened this issue · 0 comments
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.6) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "/usr/local/bin/page-to-alto", line 5, in
from ocrd_page_to_alto.cli import main
File "/usr/local/lib/python3.8/dist-packages/ocrd_page_to_alto/cli.py", line 4, in
from ocrd.decorators import ocrd_loglevel
File "/usr/local/lib/python3.8/dist-packages/ocrd/init.py", line 17, in
from ocrd.processor.base import run_processor, run_cli, Processor
File "/usr/local/lib/python3.8/dist-packages/ocrd/processor/init.py", line 1, in
from .base import (
File "/usr/local/lib/python3.8/dist-packages/ocrd/processor/base.py", line 39, in
from .helpers import run_cli, run_processor, generate_processor_help # pylint: disable=unused-import
File "/usr/local/lib/python3.8/dist-packages/ocrd/processor/helpers.py", line 13, in
from ocrd.workspace import Workspace
File "/usr/local/lib/python3.8/dist-packages/ocrd/workspace.py", line 45, in
from .mets_server import ClientSideOcrdMets
File "/usr/local/lib/python3.8/dist-packages/ocrd/mets_server.py", line 40, in
class OcrdAgentModel(BaseModel):
File "/usr/local/lib/python3.8/dist-packages/pydantic/_internal/_model_construction.py", line 104, in new
private_attributes = inspect_namespace(
File "/usr/local/lib/python3.8/dist-packages/pydantic/_internal/_model_construction.py", line 345, in inspect_namespace
raise NameError(
NameError: Fields must not use names with leading underscores; e.g., use 'type' instead of '_type'.