Loki icon indicating copy to clipboard operation
Loki copied to clipboard

Traceback error

Open SKRecreated opened this issue 1 year ago • 3 comments

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 avatar Apr 27 '23 12:04 SKRecreated

I tried manually installing open SSL and still same error image

SKRecreated avatar Apr 27 '23 13:04 SKRecreated

similar problem, how to solve it?

EvgenyGor avatar Jan 15 '24 14:01 EvgenyGor

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

Jephteman avatar Jan 16 '24 13:01 Jephteman