Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.

When I run the tool, get error: AttributeError: 'module' object has no attribute 'SSL_ST_INIT' #153

@buptwsg

Description

@buptwsg

HI,
Please help me. I get error:
File "/usr/lib/python2.7/site-packages/OpenSSL/SSL.py", line 118, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

My OS is CentOS, and when I install isign, the output is :
/usr/bin/pip install isign
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
Requirement already satisfied: isign in /usr/lib/python2.7/site-packages (1.6.15)
Requirement already satisfied: construct==2.5.2 in /usr/lib/python2.7/site-packages (from isign) (2.5.2)
Requirement already satisfied: memoizer==0.0.1 in /usr/lib/python2.7/site-packages (from isign) (0.0.1)
Requirement already satisfied: biplist==0.9 in /usr/lib/python2.7/site-packages (from isign) (0.9)
Collecting pyOpenSSL==0.15.1
Downloading http://mirrors.cloud.aliyuncs.com/pypi/packages/37/2f/840f2656e4bcf257cb814825bb751a9197ca6f39f1fa036ab111920ac7ef/pyOpenSSL-0.15.1-py2.py3-none-any.whl (102 kB)
|################################| 102 kB 34.9 MB/s
Requirement already satisfied: six in /usr/lib/python2.7/site-packages (from construct==2.5.2->isign) (1.14.0)
Requirement already satisfied: cryptography>=0.7 in /usr/lib64/python2.7/site-packages (from pyOpenSSL==0.15.1->isign) (2.8)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib64/python2.7/site-packages (from cryptography>=0.7->pyOpenSSL==0.15.1->isign) (1.14.0)
Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography>=0.7->pyOpenSSL==0.15.1->isign) (1.0.23)
Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography>=0.7->pyOpenSSL==0.15.1->isign) (1.1.6)
Requirement already satisfied: pycparser in /usr/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=0.7->pyOpenSSL==0.15.1->isign) (2.19)
Installing collected packages: pyOpenSSL
Successfully installed pyOpenSSL-0.15.1

It seems everything is ok, but when I run the tool, it gives me error:
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions