I've tried following the steps here to install Deluge 2.0.3 via Homebrew and after multiple re-tries, I'm still running into the below issues, would appreciate any insight!
For background I'm running macOS 11.6 on Intel
When I first run deluge via command line, the below error pops up and then it runs deluge in ThinClient mode.
Code: Select all
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
Code: Select all
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/deluge/_libtorrent.py", line 23, 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/local/bin/deluged", line 8, in <module>
sys.exit(start_daemon())
File "/usr/local/lib/python3.9/site-packages/deluge/core/daemon_entry.py", line 90, in start_daemon
from deluge.core.daemon import is_daemon_running
File "/usr/local/lib/python3.9/site-packages/deluge/core/daemon.py", line 22, in <module>
from deluge.core.core import Core
File "/usr/local/lib/python3.9/site-packages/deluge/core/core.py", line 28, in <module>
from deluge._libtorrent import LT_VERSION, lt
File "/usr/local/lib/python3.9/site-packages/deluge/_libtorrent.py", line 25, in <module>
import libtorrent as lt
ImportError: dlopen(/usr/local/lib/python3.9/site-packages/libtorrent.cpython-39-darwin.so, 2): Symbol not found: __Z14bind_info_hashv
Referenced from: /usr/local/lib/python3.9/site-packages/libtorrent.cpython-39-darwin.so
Expected in: flat namespace
in /usr/local/lib/python3.9/site-packages/libtorrent.cpython-39-darwin.so
Code: Select all
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Code: Select all
brew install pygobject3 gtk+3 adwaita-icon-theme
Code: Select all
brew install libtorrent-rasterbar
- This just tells me that everything is already linked, I tried unlinking and re-linking everything and still didn't help.
Code: Select all
brew link gettext --force
- This initially threw an error saying my pip wasn't up to date.
Code: Select all
pip3 install deluge
I ranand then re-ranCode: Select all
usr/local/opt/python@3.9/bin/python3.9 -m pip install --upgrade pip
Code: Select all
pip3 install deluge