Can#39;t install textract on windows(无法在 Windows 上安装文本)
问题描述
我尝试了很多东西,但当我尝试使用 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 char 在第 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 上安装文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 Windows 上安装文本


基础教程推荐
- 筛选NumPy数组 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01