I updated my 14.04 machine and now deluge will not launch:
# deluged -d
[ERROR ] 23:08:16 main:237 No module named cryptography.hazmat.bindings.openssl.binding
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 229, in start_daemon
from deluge.core.daemon import Daemon
File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 45, in <module>
from deluge.core.rpcserver import RPCServer, export
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 45, in <module>
from twisted.internet import ssl, reactor, defer
File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 25, in <module>
from OpenSSL import SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 3, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
Any ideas or more info I can provide? I've been googling and I cannot find a solution
TIA
Ack! help, deluge is dead after ubuntu update
Re: Ack! help, deluge is dead after ubuntu update
ok, I'm not sure exacly why this fixedthe issue, but I had to do this:
sudo -s
apt-get install libffi-dev
apt-get install python-dev
apt-get install libssl-dev
/usr/local/bin/pip install pycparser
/usr/local/bin/pip install cffi
/usr/local/bin/pip install cryptography
Now deluge runs
sudo -s
apt-get install libffi-dev
apt-get install python-dev
apt-get install libssl-dev
/usr/local/bin/pip install pycparser
/usr/local/bin/pip install cffi
/usr/local/bin/pip install cryptography
Now deluge runs