Can't install textract on windows

后端 未结 4 2060
轻奢々
轻奢々 2020-12-06 07:28

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:

4条回答
  •  春和景丽
    2020-12-06 08:00

    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
    

提交回复
热议问题