問題描述
我嘗試了很多東西,但當我嘗試使用 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 上安裝文本的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!