0
votes

I am using python 2.7 and i need secure url with ssl protocol(HTTPS).Can we do this in python 2.7 when i trying to import ssl i m getting the following error

Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/ssl.py", line 60, in import _ssl # if we can't import it, let the error propagate ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: symbol SSLeay_version, version OPENSSL_1.0.1 not defined in file libcrypto.so.10 with link time reference.

Please help me if anybody know...Thanks in advance

1
How did you install Python?Wooble
I m using Linux fedora19, I installed as "yum install python"Shiva
Check to make sure that you have OpenSSL 1.0.1 installed on your boxFuriousGeorge
Yah OpenSSL is installed...Shiva

1 Answers

0
votes

I got Answer

I have re-installed openssl

This is the code i used in terminal

sudo yum install openssl-devel