【问题标题】:Install GitHub Repositories/Modules for python为 python 安装 GitHub 存储库/模块
【发布时间】:2017-03-02 21:07:04
【问题描述】:

最近几天我已经搜索过这个,但我似乎无法弄清楚。我正在尝试为 python 3.x 安装一个 pyttsx 模块,并且看过多个人说我需要更改 pyttsx 模块的 init、引擎和驱动程序文件中的代码,我已经完成了,但 pyttsx 似乎仍然不起作用。我正在尝试从here 安装一个模块,但我不知道如何将 GitHub 包/repos 安装到 python。我试过pip install git+http://"URL_goes_here",但我似乎无法让它工作。我也安装了 git 客户端,其中一个答案说是 here

我有 python 3.x 和 windows 10。

【问题讨论】:

  • 您尝试过使用 https 吗?如:pip install git+https://github.com/RapidWareTech/pyttsx.
  • 你安装了依赖(pywin32)吗? sourceforge.net/projects/pywin32/files/pywin32
  • @VonC 我收到一条错误消息,上面写着could not find a version that satisfies the requirement win32com (from pyttsx==1.2) (from versions: ) No matching distribution found for win32com (from pyttsx==1.2)
  • @Crt 我刚刚安装了依赖项(我相当确定它安装正确),我仍然收到与上面相同的错误消息

标签: git python-3.x github pip installation


【解决方案1】:

这适用于 Ubuntu 上的 Python 3:

pip install git+https://github.com/RapidWareTech/pyttsx

但也许在 Windows 上让引擎运行起来并不容易。

【讨论】:

    猜你喜欢
    • 2023-03-25
    • 1970-01-01
    • 2020-09-19
    • 1970-01-01
    • 1970-01-01
    • 2021-11-13
    • 1970-01-01
    • 2016-07-08
    • 1970-01-01
    相关资源
    最近更新 更多