jlsutherland / doc2text

Detect text blocks and OCR poorly scanned PDFs in bulk. Python module available via pip.
MIT License
1.27k stars 97 forks source link

Can not install pythonmagick. #27

Closed dyllanwli closed 7 years ago

dyllanwli commented 7 years ago

I tried sudo apt-get install python-pythonmagick and pip install to ensure doc2text import well. But even I successfully installed python-pythonmagick via apt, I still can not import doc2text.

I check the source package which python-pythonmagick installed via apt, it seems the packages can only support python2.

So could you help to fix the problem? I want to doc2text on python3 (Ubuntu)

jlsutherland commented 7 years ago

Hi @dyllanwli, doc2text at present only supports python2. A python3 branch is in the works---ideally it will drop the pythonmagick dep. I'm happy to loop you back in when that branch is pushed and functional. Does that work?

dyllanwli commented 7 years ago

Thank you, @jlsutherland.