Installing pocketsphinx python module: command 'swig.exe' failed

前端 未结 8 1504
-上瘾入骨i
-上瘾入骨i 2020-12-19 00:40

I\'m getting something like this. Can anyone please tell me how to fix this.

C:\\Users\\krush\\Documents\\ML using Python>pip install pocketsphinx
Collect         


        
8条回答
  •  情深已故
    2020-12-19 00:50

    In case you are working on anaconda navigator.
    Just go to environment.
    Search swig, your package will be displayed. Select the package and click on apply button. It will also give a prompt list of other dependencies, which need to be installed with swig.
    So just select all and click on apply button.
    All the dependencies will be installed in your root directory of anaconda.

    This worked for me, hope it helps.

提交回复
热议问题