Can't install textract on windows

Sebastian Wdowiarz picture Sebastian Wdowiarz · Jun 7, 2018 · Viewed 10.8k times · Source

I've tried lots of things but still fail when I'm trying to install textract package on my Windows by using pip command.

I'm getting the following error:

error

I have no idea what to do, so I'll be really grateful for any advice. Thank you

Answer

Marcus Mann picture Marcus Mann · Jul 9, 2018

Stolen from here:

Needed to first install swig from conda (miniconda)

conda install swig

Then downloaded the EbookLib 0.15 zip from the releases

https://github.com/aerkalov/ebooklib/releases

After unzipping it, I manually removed (I used notepad++) the unicode char in the README.md file. (unicode char is on Line 44)

And then installed the module with pip.

cd to_unzipped_folder_path_here
pip install .

And finally

pip install textract