Skip to content

bug/unstructured[pdf] install bug with uv #3809

Open
@thekaasking

Description

@thekaasking

Describe the bug
Installing the unstructured[pdf] optional module, in a clean virtual environment with uv, does not work out of the box.
Uv is a new tool by Astral (creators of Ruff), for Python venv, package and project management. It is a great tool, but somehow does not work with installing the unstructured[pdf] module. It raises a common pycrypto dependency issue. Manually installing pycryptodome fixes the problem, but with package resolving it can still raise issues.

**To Reproduce **
On PS:

uv venv
.venv\scripts\activate
uv pip install unstructured[pdf]

Expected behavior
You expect the optional module of [pdf] to install correctly, out-of-the-box, with uv.

Screenshots
image

Environment Info
uv venv, Python 3.11, Windows 10 Enterprise 19045, Intel I7 9700K

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions