pocketsphinx 错误:无法为 pocketsphinx 构建轮子,这是安装基于 pyproject.toml 的项目所必需的

问题描述 投票:0回答:2

我在下载这个名为 pocketsphinx 的 python 模块时遇到问题, 我已经尝试了所有方法,使用 git 等手动下载它(我在 Windows 上),我更新了 pip,我什至尝试使用 python 环境下载 Visual Studio,因为错误仍然存在,我更新了我的 python,我什至尝试更新我的笔记本电脑,但我仍然无法让它工作。但我不会放弃,尽管我很沮丧。

` 完整错误: -- 尝试“NMake Makefiles (Visual Studio 15 2017 x64 v141)”生成器 - 失败 -------------------------------------------------- ------------------------------------------

  ********************************************************************************
  scikit-build could not get a working generator for your system. Aborting build.

  Building windows wheels for Python 3.11 requires Microsoft Visual Studio 2022.
  Get it with "Visual Studio 2017":

    https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2019":

      https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2022":

      https://visualstudio.microsoft.com/vs/

  ********************************************************************************
  [end of output]

注意:此错误源自子进程,并且可能不是 pip 的问题。 错误:pocketsphinx 的构建轮失败 构建 pocketsphinx 失败 错误:无法为 pocketsphinx 构建轮子,这是安装基于 pyproject.toml 的项目所必需的 `

更新我的python,更新PIP,更新我的笔记本电脑,手动安装,并使用GIT,我什至在youtube上尝试了一些解决方案(它们都不起作用)

python python-3.x module pip pocketsphinx
2个回答
1
投票

好的,我刚刚发现问题了。事实证明 python 3.11 完全不受支持。这意味着您必须降级到 3.10 才能使用此模块


0
投票

我已经安装了较低版本的Python,但它对我不起作用。

© www.soinside.com 2019 - 2024. All rights reserved.