无法在Windows上安装Textract [英] Can't install textract on windows

查看:127
本文介绍了无法在Windows上安装Textract的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了很多事情,但是当我尝试使用pip命令在Windows上安装textract软件包时仍然失败.

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 have no idea what to do, so I'll be really grateful for any advice. Thank you

推荐答案

这里:

需要首先从conda(miniconda)安装swig

Needed to first install swig from conda (miniconda)

conda install swig

然后从发行版中下载EbookLib 0.15 zip

Then downloaded the EbookLib 0.15 zip from the releases

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

解压缩后,我手动删除(我使用了notepad ++)README.md文件中的unicode char. (unicode字符位于第44行)

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

然后使用pip安装该模块.

And then installed the module with pip.

cd to_unzipped_folder_path_here
pip install .

最后

pip install textract

这篇关于无法在Windows上安装Textract的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆