【问题标题】:How to install textract on Anaconda (Windows 10)?如何在 Anaconda(Windows 10)上安装 textract?
【发布时间】:2019-05-06 19:15:30
【问题描述】:

我正在尝试在 Windows 上安装 Anaconda,但出现以下错误:

Conda: screenshot of error

Pip install: screenshot of error

错误信息:

(base) C:\Users\vinay>**conda install -c conda-forge textract**

Solving environment: **failed**

PackagesNotFoundError: The following packages are not available from current channels:

  **- textract**

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.

【问题讨论】:

标签: python windows anaconda


【解决方案1】:

您是否尝试过通过 pip 安装? https://pypi.org/project/textract/

pip install textract

【讨论】:

  • 是的,一切都已完成,但最后一行出现此错误 命令“python setup.py egg_info”在 C:\Users\vinay\AppData\Local\Temp\pip-install 中出现错误代码 1 失败-y1ejkzxz\EbookLib\
  • 能否请您发布完整的屏幕截图?
  • 在 pip 命令之前使用以下命令更改编码。 REM change CHCP to UTF-8 CHCP 65001CLS`
  • 那该如何解决呢?
  • 参考下面的链接可能会有所帮助。 superuser.com/questions/269818/…
【解决方案2】:

我遇到了同样的问题。我相信这是因为我们使用的是 Windows 64 位版本,anaconda 安装不支持该版本,如下所示:

如您所见,它只支持win-32。我也通过pip install textract 路由安装它。

【讨论】:

    猜你喜欢
    • 2017-11-12
    • 2017-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-26
    • 2018-08-11
    • 2018-06-28
    相关资源
    最近更新 更多