使用conda成功安装后无法导入Pocketsphinx

时间:2020-11-11 05:11:56

标签: python conda pocketsphinx

我正在使用conda将python env回滚到3.5版,以便可以安装Pocketsphinx。

我使用了https://anaconda.org/conda-forge/pocketsphinx此处概述的conda install -c conda-forge pocketsphinx

它似乎正确安装,没有错误。

Solving environment: done

## Package Plan ##

  environment location: /.../anaconda3/envs/uwu

  added / updated specs:
    - pocketsphinx


The following NEW packages will be INSTALLED:

  pocketsphinx       conda-forge/linux-64::pocketsphinx-0.8-h14c3975_1002
  sphinxbase         conda-forge/linux-64::sphinxbase-0.8.5prealpha-h14c3975_1000


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

但是,它似乎无法正确导入。

>>> import pocketsphinx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'pocketsphinx'

知道为什么吗?

0 个答案:

没有答案