我在下载这个名为袖珍狮身人面像的python模块时遇到了麻烦,我已经尝试过通过手动下载它,使用git等等(我在windows上),我更新了pip,我甚至尝试下载带有python环境的visual studio,因为错误坚持,我更新了我的python,我甚至尝试更新我的笔记本电脑,但是我仍然无法让它工作。但我不会放弃,尽管我很沮丧。
‘完全错误:-尝试"NMake Makefiles (Visual 15 2017 x64 v141)“生成器- failure x64
********************************************************************************
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上尝试了一些解决方案(它们都没有工作)
发布于 2022-11-24 15:31:00
好吧,我刚发现问题所在。原来python 3.11完全不受支持。这意味着您必须降级到3.10才能使用此模块。
https://stackoverflow.com/questions/74562577
复制相似问题