Skip to content

[BUG: Breaking] marker script: ModuleNotFoundError: No module named 'psutil' #904

@ozzzzz

Description

@ozzzzz

🧨 Describe the Bug

Marker fails with no module error in the file marker/scripts/convert.py.

📄 Input Document

It will fail on every document.

📤 Output Trace / Stack Trace

Click to expand
Traceback (most recent call last):
  File "/usr/local/bin/marker", line 3, in <module>
    from marker.scripts.convert import convert_cli
  File "/usr/local/lib/python3.13/site-packages/marker/scripts/convert.py", line 5, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

⚙️ Environment

Please fill in all relevant details:

  • Marker version: latest
  • Surya version:
  • Python version: 3.13
  • PyTorch version:
  • Transformers version:
  • Operating System (incl. container info if relevant):

✅ Expected Behavior

Marker not fails.

📟 Command or Code Used

Click to expand
# or Python code block
marker input --workers 1 --output_format json

📎 Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: breakingCrashes, errors, anything that stops execution or is runtime-breaking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions