【问题标题】:PackagesNotFoundError for pyttsx in AnacondaAnaconda 中 pyttsx 的 PackagesNotFoundError
【发布时间】:2021-01-18 01:32:40
【问题描述】:

我进行了多次尝试,但找不到以下问题的解决方法。这是由 Anaconda 完成的。

conda install pyttsx
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  - pyttsx

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-32
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-32
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-32
  - https://repo.anaconda.com/pkgs/msys2/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.

【问题讨论】:

  • 试试这个:conda install -c auto pyttsx
  • 我得到了和上面一样的回复
  • 你有什么操作系统(和位,如 Win-32 或 Win-64)和 CPU?可能是软件包不适用于您的软件/硬件组合。

标签: python anaconda conda spyder


【解决方案1】:

如果您在 anaconda.org 上搜索软件包名称,您可以找到可用的频道(可能不在默认的 anaconda 频道中)。在这种情况下:

$ conda install -c auto pyttsx

https://anaconda.org/auto/pyttsx

我应该补充一点:这个包似乎已经超过 6 年没有更新了,并且仅适用于 Python 2.7。因此,您应该考虑使用它是否是一个好主意,以及是否没有更好的、当前维护的替代方案。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-19
    • 1970-01-01
    • 2020-08-04
    • 2020-09-07
    • 2021-09-12
    • 1970-01-01
    相关资源
    最近更新 更多