herooutoftime / ajenti-letsencrypt

Ajenti plugin for Let's Encrypt Certificates
27 stars 15 forks source link

No module named cryptography.hazmat.bindings.openssl.binding #5

Open afidegnum opened 7 years ago

afidegnum commented 7 years ago

Here is my currrent error, I have installed cryptography module though

15.03.2017 08:43 [... 29684] DEBUG Registering [aj.api.http.HttpMiddleware] (interface) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.api.http.HttpPlugin] (interface) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.api.http.SocketEndpoint] (interface) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.security.verifier.ClientCertificateVerificator] (service) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.auth.AuthenticationMiddleware] (service) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.auth.AuthenticationProvider] (interface) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.auth.OSAuthenticationProvider] (implementation of [aj.auth.AuthenticationProvider]) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.auth.AuthenticationService] (service) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.auth.PermissionProvider] (interface) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.routing.CentralDispatcher] (service) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.gate.middleware.SocketIORouteHandler] (service) 15.03.2017 08:43 [... 29684] DEBUG Registering [aj.gate.middleware.GateMiddleware] (service) Traceback (most recent call last): File "/usr/local/bin/ajenti-panel", line 123, in plugin_providers=plugin_providers, File "/usr/local/lib/python2.7/dist-packages/aj/entry.py", line 35, in start import aj.core File "/usr/local/lib/python2.7/dist-packages/aj/core.py", line 20, in from aj.util.sslsocket import SSLSocket File "/usr/local/lib/python2.7/dist-packages/aj/util/sslsocket.py", line 5, in import OpenSSL.SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in from OpenSSL._util import ( File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 3, in from cryptography.hazmat.bindings.openssl.binding import Binding ImportError: No module named cryptography.hazmat.bindings.openssl.binding