search

Home  >  Q&A  >  body text

linux - python compile ssl error

Download and compile 2.7.10 yourself
Then compile openssl 1.1
Re-soft-connect openssl
version is normal

When installing python
Then modify setup.dist according to what is said on the Internet
The ssl path is /usr/local/ssl

Then make
make install
Then it prompts errors import hashlib errors

I have been unable to do anything for two days. I really have a headache. . . Ask for help. . Thanks

我想大声告诉你我想大声告诉你2734 days ago663

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-05 11:13:06

    Problem solved. Please browse the article I just published for reference. Thank you~
    /a/11...

    reply
    0
  • 天蓬老师

    天蓬老师2017-06-05 11:13:06

    Refer to this article. After python is installed, it prompts that the ssl module cannot be found. Solution steps

    reply
    0
  • Cancelreply