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 上安装文本
基础教程推荐
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
