
On Montag, 20. Oktober 2025 19:56:39 CEST Mark Sapiro wrote:
On 10/20/25 10:32, Dennis Putnam via Mailman-users wrote:
I'm trying to install the web UI for mailman3. I am getting the following failure. Can someone help? TIA.
(venv) mailman :~$ pip install mailman-web mailman-hyperkitty
...
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/pip-install-y364_cvm/cmarkgfm_9fcba25730114ac4a08d1e 7733112a45/src/cmarkgfm/cmark.cffi.h'
[end of output]
note: This error originates from a subprocess, and is likely not a
problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I think I've seen a similar error, but I don't recall what I did to work around it. In this case cmarkgfm is a dependency of readme_renderer which in turn is a dependency of postorius. In your venv try
pip install cmarkgfm
first and then
pip install mailman-web mailman-hyperkitty
That may avoid this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
It seems to me cmarkgfm is broken today. I tried to update it in my working environment and get the same error:
(venv) mailman@lists:~> pip install -U cmarkgfm Requirement already satisfied: cmarkgfm in ./venv/lib64/python3.11/site- packages (2024.11.20) Collecting cmarkgfm Using cached cmarkgfm-2025.10.20.tar.gz (145 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [41 lines of output] Traceback (most recent call last): File "/opt/mailman/venv/lib64/python3.11/site-packages/pip/_vendor/ pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/opt/mailman/venv/lib64/python3.11/site-packages/pip/_vendor/ pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mailman/venv/lib64/python3.11/site-packages/pip/_vendor/ pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 5, in <module> File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/_distutils/core.py", line 148, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/dist.py", line 321, in __init__ _Distribution.__init__(self, dist_attrs) File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/_distutils/dist.py", line 309, in __init__ self.finalize_options() File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/dist.py", line 784, in finalize_options ep(self) File "/tmp/pip-build-env-mdd_0nfr/overlay/lib/python3.11/site- packages/setuptools/dist.py", line 804, in _finalize_setup_keywords ep.load()(self, ep.name, value) File "/tmp/pip-build-env-mdd_0nfr/overlay/lib64/python3.11/site- packages/cffi/setuptools_ext.py", line 229, in cffi_modules add_cffi_module(dist, cffi_module) File "/tmp/pip-build-env-mdd_0nfr/overlay/lib64/python3.11/site- packages/cffi/setuptools_ext.py", line 50, in add_cffi_module execfile(build_file_name, mod_vars) File "/tmp/pip-build-env-mdd_0nfr/overlay/lib64/python3.11/site- packages/cffi/setuptools_ext.py", line 26, in execfile exec(code, glob, glob) File "src/cmarkgfm/build_cmark.py", line 21, in <module> with open(CMARK_DEF_H_PATH, encoding='utf-8') as fh: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip- install-8e12fhsc/cmarkgfm_dbeb0911a2014cbe9bb4b5b09ee7602f/src/cmarkgfm/ cmark.cffi.h' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
-- Mit freundlichen Gruessen, Andreas Vetter