python-3.x 请帮助我找出如何修复此ModuleNotFoundError:没有名为“distutils.command.bdist_msi”的模块

bqf10yzr  于 2023-03-13  发布在  Python
关注(0)|答案(1)|浏览(478)

执行的命令:

pip install goodbyecaptcha

pip变为pocketphinx==0.1.15时,我得到的错误是

Collecting pocketsphinx==0.1.15
  Using cached pocketsphinx-0.1.15.tar.gz (29.1 MB)
  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 "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-5w4o2xw6\pocketsphinx_28ae123a4f0648b5b85b61f178e07d40\setup.py", line 20, in <module>
          from distutils.command.bdist_msi import bdist_msi as _bdist_msi
      ModuleNotFoundError: No module named 'distutils.command.bdist_msi'
      [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.`

请帮我想办法解决这个问题。

gj3fmq9x

gj3fmq9x1#

尝试pip install --pre pocketsphinx并重新安装goodbyecaptcha。

相关问题