I built a new bare metal server with Ubunbtu 24.04 and I am attempting to run this tool with python3 and I am running into problems
Deluge 2.1 appears to be the default version.
What is the fix to this error?
Code: Select all
$ deluged
[85/1232] (kingram@apollo): 2024-11-10 11:58:15 ~/PROJECTS/tormonitor
$ Traceback (most recent call last):
File "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-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 "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-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 "/home/kingram/.local/bin/deluged", line 8, in <module>
sys.exit(start_daemon())
^^^^^^^^^^^^^^
File "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-packages/deluge/core/daemon_entry.py", line 87, in start_daemon
from deluge.core.daemon import is_daemon_running
File "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-packages/deluge/core/daemon.py", line 19, in <module>
from deluge.core.core import Core
File "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-packages/deluge/core/core.py", line 26, in <module>
from deluge._libtorrent import LT_VERSION, lt
File "/home/kingram/.local/share/pipx/venvs/deluge/lib/python3.12/site-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
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
Code: Select all
Package: libtorrent-dev
Version: 0.13.8-2.1build2
Priority: extra
Section: universe/libdevel
Source: libtorrent
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Jose Luis Rivas <ghostbar@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 423 kB
Depends: libsigc++-2.0-dev, libtorrent21t64 (= 0.13.8-2.1build2)
Homepage: https://rakshasa.github.io/rtorrent/
Download-Size: 53.9 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: C++ BitTorrent library by Rakshasa (development files)
LibTorrent is a BitTorrent library written in C++ for *nix. It is
designed to avoid redundant copying and storing of data that other
clients and libraries suffer from.
.
This package contains the files needed to compile and link programs which use LibTorrent.
Code: Select all
Package: deluged
Version: 2.1.2~dev0+20240121-1
Priority: optional
Section: universe/net
Source: deluge
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 72.7 kB
Depends: deluge-common (= 2.1.2~dev0+20240121-1), passwd, python3-libtorrent, python3:any
Homepage: https://deluge-torrent.org
Download-Size: 15.7 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: multi-interface BitTorrent client (server)
Deluge is a BitTorrent client written in Python. It uses a client-server
model supporting multiple user-interfaces that can connect to a
(headless) deluged running on a server.
.
This package contains the server.