Install Deluge 2.1.* on MacOS with LabelPlus plugin and working URL downloads
Posted: Thu Sep 15, 2022 9:53 am
All,
I thought I would share this as I got it up and running. Here are the commands I had to run right up to starting the UI.
Upgrade pip
Note that to install packages via pip you may require to pass --break-system-packages
Install dependencies (Note I don't know if all this is needed, but it was the combo that worked ok)
Install deluge
Starting Deluge (path can be different depending on your install version of python 3):
The only outstanding issue I had was when trying to open a secure URL when adding a file (downloading a file and opening that directly still works). I had the follow error:
On MacOS the easiest way to work around this is to set SSL_CERT_FILE to the built in path when running deluge:
Alternatively you can use a solution that would also work on Linux/Windows by install the certifi package.
Install certifi:
Now start deluge setting SSL_CERT_FILE as part of this (path can be different depending on your install version of python 3):
It should be possible to set the environment variable in .zshrc but for some reason this did not work and setting it with startup of deluge was required.
Install Labelplus plugin
Labelplus can be found here:
Regards,
phunkyfish
I thought I would share this as I got it up and running. Here are the commands I had to run right up to starting the UI.
Upgrade pip
Note that to install packages via pip you may require to pass --break-system-packages
Code: Select all
python3 -m pip install --upgrade pip
Code: Select all
brew install pygobject3 gtk+3 adwaita-icon-theme
brew install libtorrent-rasterbar
pip3 install gobject pygobject
pip3 install libtorrent
Code: Select all
pip3 install deluge
Code: Select all
$HOME/Library/Python/3.9/bin/deluge
Code: Select all
[<twisted.python.failure.Failure OpenSSL.SSL.Error: [('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('SSL routines', '', 'certificate verify failed')]>]
Code: Select all
SSL_CERT_FILE="/etc/ssl/cert.pem" $HOME/Library/Python/3.9/bin/deluge
Install certifi:
Code: Select all
pip3 install certifi
Code: Select all
SSL_CERT_FILE="$(python3 -m certifi)" $HOME/Library/Python/3.9/bin/deluge
Install Labelplus plugin
Labelplus can be found here:
- https://github.com/bdutro/deluge-labelplus/releases
- Note: e.g. LabelPlus-0.3.2.4-py3.8.egg needs to be renamed to LabelPlus-0.3.2.4.egg before installing
- It can be installed via the UI.
Regards,
phunkyfish