Results 1 to 5 of 5

Thread: Python - AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Question Python - AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

    Some python scripts and other programs are throwing this error
    Code:
      from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
      File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import rand, crypto, SSL
      File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 105, in <module>
        SSL_ST_INIT = _lib.SSL_ST_INIT
    AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
    Upon my research, Google is full of post with other users experiencing same error with all types of python scripts. Majority of posts direct user to verify pyOpenSSL version is latest ( Which I've done ) and this fixes most of the users issues.

    I've implemented all suggestions I've found pertaining to this issue, with no luck what so ever.

    Can any one point me in the right direction?

    Here is some info

    Latest version of Kali, updated daily via apt-get
    Code:
    pyOpenSSL==16.2.0
    OpenSSL 1.1.0c  10 Nov 2016
    Python 2.7.13
    Thanks,
    Last edited by hightech316; 2017-01-29 at 18:17.

Similar Threads

  1. Missing subclasses of object class for Python!
    By rdre8 in forum General Archive
    Replies: 1
    Last Post: 2022-07-18, 15:27
  2. Python error TypeError: 'type' object is not iterable
    By RobertMaxwell642 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-07-23, 18:10
  3. setoolkit attributeError
    By Pabasara in forum General Archive
    Replies: 0
    Last Post: 2020-01-28, 08:44
  4. Replies: 0
    Last Post: 2014-04-18, 05:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •