用于Anaconda安装的语音识别

时间:2019-09-18 23:06:05

标签: anaconda python-3.7

我目前正在尝试为水蟒安装语音识别,但是出现错误

(基本)C:> conda安装-c conda-forge / label / cf201901 收集包元数据(current_repodata.json):完成 求解环境:最初的冻结求解失败。使用灵活的解决方法重试。 收集包元数据(repodata.json):已完成 求解环境:最初的冻结求解失败。使用灵活的求解重试。

PackagesNotFoundError: The following packages are not available from current channels:

  - -
  - forge/label/cf201901

Current channels:

  - https://conda.anaconda.org/conda/win-32
  - https://conda.anaconda.org/conda/noarch
  - https://repo.anaconda.com/pkgs/main/win-32
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-32
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-32
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

3 个答案:

答案 0 :(得分:0)

尝试使用Anaconda Navigator进行安装:转到Anaconda Navigator,环境,(选择您的环境),单击带有“已安装”的下拉列表,然后更改为“已卸载”,搜索所需的软件包,选中旁边的框。包的名称,最后单击“应用”。

答案 1 :(得分:0)

您的命令没有任何意义。 forge/label/cf201901是频道名称。

如果您想从特定渠道(例如forge/label/cf201901)安装pkg。尝试执行以下命令

conda install --channel "conda-forge/label/cf201901" package

答案 2 :(得分:0)

运行命令:

conda install -c conda-forge speechrecognition

输出将是:

Downloading and Extracting Packages
conda-4.10.3         | 3.1 MB    | ############################################################################################ | 100% 
speechrecognition-3. | 31.8 MB   | ############################################################################################ | 100% 
python_abi-3.8       | 4 KB      | ############################################################################################ | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done