Python always reports an error when installing webrtcvad

question:

pip install webrtcvad

Error reported, unable to install, installation failed.

Reason 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

Solution 1:

  • You need to install VS, just install it through Baidu tutorial.

Reason 2:

  • GIT prevents the package from being installed.

Method:

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

Guess you like

Origin blog.csdn.net/qq_38978225/article/details/128716750
Recommended