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

前端 未结 8 1461
-上瘾入骨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 01:17

    Instead of copying Swig files to the Python folder, you can simply add Swig`s location to the environment variables:

    1. Press Ctrl+S
    2. Type env and press Enter
    3. Double click on Path
    4. Add the path-to-Swig to the last blank line
    5. Click OK and restart your PC

提交回复
热议问题