【问题标题】:Python Speech_Recognition not showingPython Speech_Recognition 未显示
【发布时间】:2020-06-04 22:11:17
【问题描述】:

我试图启动一个需要 python 语音识别模块的语音助手项目。但是,当我尝试在我需要它的文件夹中导入时,在我编写导入后不会出现在那里。但在另一个工作区上确实如此。enter image description here

enter image description here

【问题讨论】:

    标签: python speech-recognition


    【解决方案1】:

    当python导入不可用时,应检查该目录是否被识别为包目录。

    为了将其识别为包目录,文件夹中必须存在一个文件才能将其识别为 Python 包。

    __init_.py 文件的内容不必是任何东西。

    【讨论】:

      猜你喜欢
      • 2016-02-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-30
      • 2019-04-10
      • 2020-09-24
      • 1970-01-01
      • 2017-05-30
      相关资源
      最近更新 更多