deanmalmgren / textract

extract text from any document. no muss. no fuss.
http://textract.readthedocs.io
MIT License
3.84k stars 585 forks source link

pip install failing on windows 10 when installing from git #508

Closed user-name-is-taken closed 3 months ago

user-name-is-taken commented 3 months ago

https://github.com/deanmalmgren/textract/blob/ec3c0c3c982078d22e51cc2753baeaf48cdf2e19/requirements/python#L8

> pip install git+https://github.com/deanmalmgren/textract
Collecting git+https://github.com/deanmalmgren/textract
  Cloning https://github.com/deanmalmgren/textract to c:\users\non-admin\appdata\local\temp\pip-req-build-3y2s_6hm
  Running command git clone --filter=blob:none --quiet https://github.com/deanmalmgren/textract 'C:\Users\non-admin\AppData\Local\Temp\pip-req-build-3y2s_6hm'
  Resolved https://github.com/deanmalmgren/textract to commit ec3c0c3c982078d22e51cc2753baeaf48cdf2e19
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info 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: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
user-name-is-taken commented 3 months ago

Closing because dup