python安装webrtcvad总是报错

问题:

pip install webrtcvad

报错,无法安装,安装失败。

原因1:

Generating code
Finished generating code
 LINK : fatal error LNK1158: cannot run 'rc.exe'
 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158

解决办法1:

  • 需要安装VS,自行百度教程安装即可。

原因2:

  • GIT导致该包无法进行安装。

办法:

AttributeError: module ‘ssl‘ has no attribute ‘SSLSocket‘或者OpenSSL SSL_read: Connection was rese

猜你喜欢

转载自blog.csdn.net/qq_38978225/article/details/128716750