Skip to content

A Couple of Dependencies Errored #3

@7hunderbird

Description

@7hunderbird

Path: /using-morphik/morphik-ui

  1. I got the error message:

ERROR

No module named 'pi_heif'

After uploading a PDF through the UI and having it work on processing it.

I ended up closing my python server and running:

SOLUTION

pip install pi-heif
  1. And then starting it back up again. This got me further but then I got the error:

ERROR

"error": "cannot import name 'TextRegions' from 'unstructured_inference.inference.elements' (/Users/tbird/code/github/morphik-org/morphik-core/.venv/lib/python3.12/site-packages/unstructured_inference/inference/elements.py)"

Which I then stopped the server again and ran:

SOLUTION

pip install --upgrade unstructured-inference

Hope this helps. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions