NZBGet: Incomplete version of setuptools installed


I’m running the latest version of NZBGet on a rapsberry pi with docker. I am trying to send a push notification using Apprise with the Notify NZBGet script. However when I test the server connection, I get the following error:

Executing script with command TestServers
Notify: Traceback (most recent call last):
Notify: File “/usr/lib/python3.8/site-packages/markdown/”, line 23, in
Notify: import packaging.version
Notify: ModuleNotFoundError: No module named ‘packaging’
Notify: During handling of the above exception, another exception occurred:
Notify: Traceback (most recent call last):
Notify: File “/scripts/”, line 181, in
Notify: from apprise import Apprise
Notify: File “/usr/lib/python3.8/site-packages/apprise/”, line 51, in
Notify: from .Apprise import Apprise
Notify: File “/usr/lib/python3.8/site-packages/apprise/”, line 29, in
Notify: from markdown import markdown
Notify: File “/usr/lib/python3.8/site-packages/markdown/”, line 32, in
Notify: from .meta import version, version_info # noqa: E402
Notify: File “/usr/lib/python3.8/site-packages/markdown/”, line 25, in
Notify: from pkg_resources.extern import packaging
Notify: ImportError: cannot import name ‘packaging’ from ‘pkg_resources.extern’ (unknown location)
Script with command TestServers failed (terminated with unknown status)

This looks like there is an incomplete version of setuptools installed. When I reinstall the package then everything works ok:

pip3 install --ignore-installed setuptools

Would it be possible to add the setuptools package to the DockerFile during install, or is there a workaround I could use?

check our blog post:

it will tell you how to add things to our containers for further customization!

Perfect, wasn’t aware of this. Thank you.