若报错:
WARNING: Requirement 'pocketsphinx?0.1.15?cp39?cp39?win_amd64.whl' looks like a filename, but the file does not exist
ERROR: pocketsphinx?0.1.15?cp39?cp39?win_amd64.whl is not a supported wheel on this platform.
说明安装的版本与Python版本或系统处理器位数不兼容,应回到上面用pip debug --verbose查找兼容的whl文件标签后再进行安装。
若报错:
C:\Users\wyx20>python -m pip install pocketsphinx-0.1.15-cp39-cp39-win_amd64.whl
WARNING: Requirement 'pocketsphinx-0.1.15-cp39-cp39-win_amd64.whl' looks like a filename, but the file does not exist
Processing c:\users\wyx20\pocketsphinx-0.1.15-cp39-cp39-win_amd64.whl
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\wyx20\\pocketsphinx-0.1.15-cp39-cp39-win_amd64.whl'
说明没有在.whl安装包的安装目录下进行安装,应在命令提示符窗口用cd转到其文件夹下或者将该whl文件复制到C:\Users\[username]目录下再进行安装。
若上述所有步骤都准确无误执行,安装时仍报错: