Hi Mark,
Thanks very much for your continued help and assistance!
The command "pip install pymysql" ran successfully after which the command "/opt/mailman/venv/bin/mailman -C /etc/mailman3/mailman.cfg" then generates the following errors:
Traceback (most recent call last): File "/opt/mailman/venv/bin/mailman", line 33, in <module> sys.exit(load_entry_point('mailman==3.3.9', 'console_scripts', 'mailman')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 1077, in main with self.make_context(prog_name, args, **extra) as ctx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 943, in make_context self.parse_args(ctx, args) File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 1644, in parse_args rest = super().parse_args(ctx, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 1408, in parse_args value, args = param.handle_parse_result(ctx, opts, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 2400, in handle_parse_result value = self.process_value(ctx, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/click/core.py", line 2362, in process_value value = self.callback(ctx, self, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/bin/mailman.py", line 95, in initialize_config initialize(value) File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/core/initialize.py", line 229, in initialize initialize_2(propagate_logs=propagate_logs) File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/core/initialize.py", line 198, in initialize_2 initialize_pipelines() File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/core/pipelines.py", line 73, in initialize add_components('handlers', IHandler, config.handlers) File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/utilities/modules.py", line 218, in add_components for component_class in find_pluggable_components(subpackage, interface): File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/utilities/modules.py", line 177, in find_pluggable_components yield from find_components('mailman.' + subpackage, interface) File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/utilities/modules.py", line 150, in find_components module = import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_load File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/opt/mailman/venv/lib/python3.11/site-packages/mailman/handlers/validate_authenticity.py", line 23, in <module> from authheaders import authenticate_message File "/opt/mailman/venv/lib/python3.11/site-packages/authheaders/__init__.py", line 25, in <module> from authheaders.dmarc_lookup import dns_query, receiver_record, receiver_record_walk, get_org_domain File "/opt/mailman/venv/lib/python3.11/site-packages/authheaders/dmarc_lookup.py", line 22, in <module> from pkg_resources import resource_filename # Part of setuptools ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module> @_call_aside ^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside f(*args, **kwargs) File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set working_set = WorkingSet._build_master() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master ws.require(__requires__) File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'flufl.lock>=5.1' distribution was not found and is required by mailman
So, I executed "pip install flufl.lock" which responded as follows:
Requirement already satisfied: flufl.lock in ./venv/lib/python3.11/site-packages (8.0.2) Requirement already satisfied: atpublic in ./venv/lib/python3.11/site-packages (from flufl.lock) (4.0) Requirement already satisfied: psutil in ./venv/lib/python3.11/site-packages (from flufl.lock) (5.9.6)
So, I don't understand why I am now getting " The 'flufl.lock>=5.1' distribution was not found and is required by mailman" since when I attempted to install flufl.lock then pip responded that flufl.lock version 8.0.2 was already installed.
Any ideas?
Thanks,
Gordon