-
Notifications
You must be signed in to change notification settings - Fork 611
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
Update requirements #239
Update requirements #239
Conversation
textract 1.6.1 has requirement chardet==2.3.0, but you'll have chardet 3.0.4 which is incompatible. |
Yeah, sorry - I didn't check the tests nor update. This has been a while now. I don't even remember what I did and why I ended up not using textract. I remember though: in the python world, this is one of the better tools. |
Please, can you check requirements? Most of them just need new numbers. :-) |
I've just had a look at it. Your error messages don't make any sense to me. You would only see the message if you didn't update some of the files listed above. I've just cloned and installed my version - as in the listed commits or https://github.com/benman1/textract/ - with no problem whatsoever. python setup.py install |
I have done it but still got newer modules chardet & six which are needed for other modules (like gensim). Textract is working with those newer versions of chardet and six but it is complaining. In your requirements should be newer numbers for them, because it will still working. |
That's what I am saying. You don't understand, please read again. apples-air:textract ben$ pip freeze | grep "chardet"
chardet==3.0.4
apples-air:textract ben$ pip freeze | grep "six"
six==1.12.0 |
Then that must be the Debain problem? pip install --upgrade textractRequirement already up-to-date: textract in /usr/local/lib/python2.7/dist-packages (1.6.1) |
Note: |
And this as a consequence: |
Running setup also use six==1.10.0: python setup.py install Installed /usr/local/lib/python2.7/dist-packages/textract-1.6.1-py2.7.egg Using /usr/local/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages/python_pptx-0.6.6-py2.7.egg Using /usr/local/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages Using /usr/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.6.0-py2.7.egg Using /usr/local/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages/SpeechRecognition-3.7.1-py2.7.egg Using /usr/local/lib/python2.7/dist-packages/EbookLib-0.16-py2.7.egg Using /usr/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages Using /usr/local/lib/python2.7/dist-packages |
After that I ndeed tu upgrade chardet: |
I've posted this comment on a derivation of textract (Wagtail Tetxtract), but it has to do with installing textract directly from @deanmalmgren's repo so might be helpful. |
Closed by #292. |
I had problems installing until changing the versions in requirements. Several didn't work as specified originally. I just installed the latest versions in most cases. These versions are what I ended up with.