Lib has no attribute 'Cryptography_HAS_SSL_ST'
See original GitHub issueObserved behavior
I’m having this Lib has no attribute 'Cryptography_HAS_SSL_ST'
when running kolibri
command on Ubuntu 16.04
At the Ubuntu 18.04 this error will not reproduce with the same .deb
installer.
Errors and logs
Traceback (most recent call last):
File "/usr/bin/kolibri", line 11, in <module>
load_entry_point('kolibri==0.11.0a5', 'console_scripts', 'kolibri')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/kolibri/utils/cli.py", line 24, in <module>
from . import server # noqa
File "/usr/lib/python3/dist-packages/kolibri/utils/server.py", line 8, in <module>
import requests
File "/usr/lib/python3/dist-packages/kolibri/dist/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/kolibri/dist/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/kolibri/dist/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/kolibri/dist/OpenSSL/SSL.py", line 194, in <module>
if _lib.Cryptography_HAS_SSL_ST:
AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'
Context
Tell us about your environment, including:
- Kolibri version: 0.11.0a5
- Operating system: Ubuntu 16.04
- Browser:
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
AttributeError: module 'lib' has no attribute ' ...
I've used the python:3.7.6-slim-stretch docker image for almost one year. Just today I got this strange issue (with pyOpenSSL==17.5.0): ...
Read more >python - How to fix Error: "module 'lib' has no attribute ' ...
On my WSL im getting the error AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' whenever I try to use pip e.g. pip ...
Read more >openssl - module 'lib' has no attribute ' ...
I managed to solve this issue by downgrading cryptography library using following command. pip install cryptography==36.0.0. Share.
Read more >What may be the cause of this error? AttributeError: module ...
This happens due to cryptography library version mismatch. ... AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'.
Read more >AttributeError: module 'lib' has no attribute ' ...
AttributeError: module 'lib' has no attribute 'Cryptography_HAS_TLSEXT_HOSTNAME' ... as a first line respond following any dnf command. I am ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mrpau-richard Could you use this workaround to re-start the integration testing workflow on Ubuntu 16.04? Thanks!
@radinamatic thank you for the update! Unfortunately I think this is what we can try to temporarily eliminate the error for testing. I will create a PR for the fix asap