3 May
2023
3 May
'23
4:03 p.m.
Hello,
On AlmaLinux 8.7, after Configuring Mailman and Setting up my database (postgres), and hooking up my mailserver (Exim), the instructions proceed to Set up Postorius: https://docs.mailman3.org/projects/postorius/en/latest/setup.html
I've tried pip install postorius
, as well as the latest version, cloning and pip install -e .
. I've tried with multiple python versions, all with the results: ModuleNotFoundError. Here's highlights of one example:
dnf update -y
dnf upgrade -y
dnf install -y python39
alternatives --config python3
» python3 -V
Python 3.9.13
pip3 install postorius
git clone https://gitlab.com/mailman/postorius.git
cd postorius
pip3 install -e .
cd example_project
~/postorius/example_project (master)»
» python3 manage.py migrate
...
ModuleNotFoundError: No module named 'debug_toolbar'
» pip3 install debug_toolbar
ERROR: Could not find a version that satisfies the requirement debug_toolbar (from versions: none)
ERROR: No matching distribution found for debug_toolbar
» pip3 install django-debug-toolbar
...
» python3 manage.py migrate
...
ModuleNotFoundError: No module named 'requests_panel'
» pip3 install requests_panel
...
» python3 manage.py migrate
...
ModuleNotFoundError: No module named 'requests_panel'
» pip3 install django-requests-panel
...
» python3 manage.py migrate
...
ModuleNotFoundError: No module named 'requests_panel.panel'
# I tried a bunch of different modules, none resolved the error, finally tried this & it did:
» cd $( dirname $( locate requests_panel/panels.py ) ) && cp -pv panels.py panel.py
» python3 manage.py migrate
...
ModuleNotFoundError: No module named 'requests_wrapper'
» pip3 install requests_wrapper
...
» python3 manage.py migrate
...
ImportError: cannot import name '_total_seconds' from 'requests_wrapper' (/usr/local/lib/python3.9/site-packages/requests_wrapper/__init__.py)