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

Having issue while downloading textract dependency #539

Open
gh-mkapuria opened this issue Nov 15, 2024 · 2 comments
Open

Having issue while downloading textract dependency #539

gh-mkapuria opened this issue Nov 15, 2024 · 2 comments

Comments

@gh-mkapuria
Copy link

Issue: When I try to download textract dependency. It is giving me warning and blocking my work.

Steps to reproduce:

pip install textract
upon entering above command, it gives me below error:

Collecting textract Using cached textract-1.6.5-py3-none-any.whl.metadata (2.5 kB)
WARNING: Ignoring version 1.6.5 of textract since it has invalid metadata:
Requested textract from https://files.pythonhosted.org/packages/6b/3e/ac16b6bf28edf78296aea7d0cb416b49ed30282ac8c711662541015ee6f3/textract-1.6.5-py3-none-any.whl has invalid metadata: .* suffix can only be used with == or != operators
extract-msg (<=0.29.*)

Please use pip<24.1 if you need to use this version.
Using cached textract-1.6.4.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
error in textract setup command: 'install_requires' must be a string or iterable of strings containing valid project/version requirement specifiers; .* suffix can only be used with == or != operators
extract-msg<=0.29.*
~~~~~~~^
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
@ScarlettSun9
Copy link

Having the same trouble here trying to install textract in Colab.

@juhoinkinen
Copy link

Duplicate of #476 #489 and #525 (at least).

The simplest work-around is to downgrade pip: pip install --upgrade pip<24.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants