Requests, Mechanize, urllib fails but cURL works中描述的问题似乎很可能就是我遇到的问题。 我尝试执行Requests, Mechanize, urllib fails but cURL works中描述的解决方案,但是我失败了
sudo -H pip install pyOpenSSL==0.13 ndg-httpsclient pyasn1
.
.
OpenSSL/crypto/x509.h:17:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^
1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Failed building wheel for pyOpenSSL
Running setup.py clean for pyOpenSSL
Failed to build pyOpenSSL