Ok, I installed the specific version:
(venv) mailman@mail:~> pip install importlib_resources\<6.0 Collecting importlib_resources<6.0 Obtaining dependency information for importlib_resources<6.0 from https://files.pythonhosted.org/packages/7a/68/bd9dd6bbf06772c7accce77d0354d7... Downloading importlib_resources-5.13.0-py3-none-any.whl.metadata (4.2 kB) Requirement already satisfied: zipp>=3.1.0 in ./venv/lib/python3.8/site-packages (from importlib_resources<6.0) (3.17.0) Downloading importlib_resources-5.13.0-py3-none-any.whl (32 kB) Installing collected packages: importlib_resources Attempting uninstall: importlib_resources Found existing installation: importlib-resources 6.1.0 Uninstalling importlib-resources-6.1.0: Successfully uninstalled importlib-resources-6.1.0 Successfully installed importlib_resources-5.13.0
Then I tried mailman info, that errored with
pkg_resources.DistributionNotFound: The 'flufl.lock>=5.1' distribution was not found and is required by mailman
So I tried installing that (venv) mailman@mail:~> pip install flufl.lock Requirement already satisfied: flufl.lock in ./venv/lib/python3.8/site-packages (8.0.2) Requirement already satisfied: atpublic in ./venv/lib/python3.8/site-packages (from flufl.lock) (4.0) Requirement already satisfied: psutil in ./venv/lib/python3.8/site-packages (from flufl.lock) (5.9.5)
The error did not change
Suggestions?