I will work with the developer who added the code to see if we can provide compatible code but in the meantime the only suggestion would be to try
Code: Select all
sudo pip install twisted[tls]
Edit: We might have a fix ready today
Code: Select all
sudo pip install twisted[tls]
Code: Select all
pip install twisted[tls]==21.2.0
Code: Select all
Traceback (most recent call last):
File "/usr/bin/deluged", line 11, in <module>
load_entry_point('deluge==2.1.1.dev7687', 'gui_scripts', 'deluged')()
File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 87, in start_daemon
from deluge.core.daemon import is_daemon_running
File "/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 19, in <module> from deluge.core.core import Core
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 26, in <module>
from deluge._libtorrent import LT_VERSION, lt
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 34, in <module> f'Deluge {get_version()} requires libtorrent >= {REQUIRED_VERSION}'
deluge.error.LibtorrentImportError: Deluge 2.1.1.dev7687 requires libtorrent >= 1.2.0.0
Code: Select all
sudo add-apt-repository ppa:libtorrent.org/1.2-daily
sudo apt-get update
sudo apt-get upgrade
Code: Select all
sudo pip install libtorrent==1.2.*
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 21, in <module>
import deluge.libtorrent as lt
ModuleNotFoundError: No module named 'deluge.libtorrent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 24, in <module>
import libtorrent as lt
ModuleNotFoundError: No module named 'libtorrent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/deluged", line 11, in <module>
load_entry_point('deluge==2.1.1.dev7687', 'gui_scripts', 'deluged')()
File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 87, in start_daemon
from deluge.core.daemon import is_daemon_running
File "/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 19, in <module>
from deluge.core.core import Core
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 26, in <module>
from deluge._libtorrent import LT_VERSION, lt
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 26, in <module>
raise LibtorrentImportError('No libtorrent library found: %s' % (ex))
deluge.error.LibtorrentImportError: No libtorrent library found: No module named 'libtorrent'
Code: Select all
apt list python3-libtorrent
Code: Select all
pip3 show libtorrent -v
Code: Select all
python3 -c "import libtorrent; print(libtorrent.version)"