yzrbz 2022-09-04 18:14 采纳率: 75%
浏览 37
已结题

PocketSphinx安装时报错

Python
想做一个语音识别的程序,安装PocketSphinx却出错了。
报错信息:
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\DELL\AppData\Local\Temp\pip-install-2qodfcsc\pocketsphinx_9bbf46ace5b74aac8068b7673fa02315\setup.py", line 21, in
from distutils.command.bdist_wininst import bdist_wininst as _bdist_wininst
ModuleNotFoundError: No module named 'distutils.command.bdist_wininst'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
怎么回事?

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 系统已结题 9月23日
  • 已采纳回答 9月15日
  • 创建了问题 9月4日

悬赏问题

  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据