Open YingxuanW opened 3 weeks ago
Have a similar problem.
WARNING: Ignoring version 1.6.5 of textract since it has invalid metadata:
Requested textract from http://princessluna.lan:8181/root/pypi/%2Bf/0ac/cd78ec42864e3/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.
Downloading http://princessluna.lan:8181/root/pypi/%2Bf/35a/c0302e2dbe53e/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 list 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.
[notice] A new release of pip is available: 24.1.2 -> 24.2
[notice] To update, run: pip install --upgrade pip
To install it I localy edit the troubled line to "extract-msg==0.29.*" and install it from the local sources.
This issue is addressed by the open pull request here: https://github.com/deanmalmgren/textract/pull/527
... but I don't know if the maintainer is active anymore.
To solve this problem, you should git clone it, and modify the following file: /textract-master/requirements/python *extract-msg<=0.29. -> extract-msg<=0.29.0 And then install by running the following command:
pip install -r requirements/python-dev3
**