Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback error #48

Open
SKRecreated opened this issue Apr 27, 2023 · 3 comments
Open

Traceback error #48

SKRecreated opened this issue Apr 27, 2023 · 3 comments

Comments

@SKRecreated
Copy link

Python version: 3.8.10

the error i have:

Traceback (most recent call last):
File "loki.py", line 10, in
from lib.server.server import Server
File "C:\Users\JakePC\Desktop\Stuff\Quaritine Place\Loki-master\Loki-master\lib\server\server.py", line 11, in
from OpenSSL import crypto
File "C:\Users\JakePC\AppData\Local\Programs\Python\Python38\lib\site-packages\OpenSSL_init_.py", line 8, in
from OpenSSL import crypto, SSL
File "C:\Users\JakePC\AppData\Local\Programs\Python\Python38\lib\site-packages\OpenSSL\crypto.py", line 3268, in
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

@SKRecreated
Copy link
Author

I tried manually installing open SSL and still same error
image

@EvgenyGor
Copy link

similar problem, how to solve it?

@Jephteman
Copy link

the problem is not in the program's source code but in one of its dependencies.

As version 39.0.0 presented this bug, downgrading the cryptography package solves this, without purging or touching your OS.
pip install cryptography==38.0.4 to downgrade from 39.0.0 which presented this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants