Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thekaasking opened this issue Dec 5, 2024 · 1 comment
Open

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

thekaasking opened this issue Dec 5, 2024 · 1 comment
Labels
bug Something isn't working build

Comments

@thekaasking
Copy link

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

@thekaasking thekaasking added the bug Something isn't working label Dec 5, 2024
@scanny scanny added the build label Dec 14, 2024
@MrMegaMango
Copy link

MrMegaMango commented Dec 17, 2024

use pycryptodomex or something instead of this old jank
Screenshot 2024-12-17 at 22 44 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build
Projects
None yet
Development

No branches or pull requests

3 participants