Python Forum
"ImportError: No module named _ssl" - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Networking (https://python-forum.io/forum-12.html)
+--- Thread: "ImportError: No module named _ssl" (/thread-5469.html)



"ImportError: No module named _ssl" - click1234 - Oct-05-2017

I have Python 2.7.14..
I want to run a python script .py but then:

"ImportError: No module named _ssl"

What can I do to fix it?

[Image: 20171005121707.png]

Sad Sad Sad Sad Sad Sad Sad Sad Sad


"ImportError: No module named _ssl" - click1234 - Oct-05-2017

I have Python 2.7.14..
I want to run a python script .py but then:

"ImportError: No module named _ssl"

What can I do to fix it?

[Image: 20171005121707.png]


RE: "ImportError: No module named _ssl" - nilamo - Oct-05-2017

Do you have ssl installed?  Not the python module, but something like openssl. 

Looks like you're using some flavor of linux, so maybe sudo apt-get openssl libssl-dev?


RE: "ImportError: No module named _ssl" - nilamo - Oct-05-2017

Threads merged.  Don't double post.