Monday, September 29, 2014

Ubuntu && Python: Solving "ImportError: No module named OpenSSL"

In order to easily solve the following Python import error on Ubuntu systems:
ImportError: No module named OpenSSL

You can install the relevant package using the following command:
$ sudo apt-get install python-openssl
 The other option would be to install the OpenSSL paackage using Python's pip:
$ sudo pip install pyOpenSSL

Good luck!
- Tal Kain


  1. Replies
    1. You should follow this comment:
      after that, just run:
      pip.exe install pyOpenSSL

      (You should follow the "Alternative instructions" in case your %PATH% environment variable does not include the Python's path).

      Good luck :)


Note: Only a member of this blog may post a comment.