Error when installing Plone 6 on MacOS: AssertionError

I’m trying to install Plone on my MacBook (MacOS Sequoia 15.1.1) using the Plone manual, but get errors.
„Install Plone with Buildout“ (Install Plone with Buildout — Plone Documentation v6)
In Step „Run buildout“ (Command: bin/buildout) this error occurs:

While:
Installing.
Getting section instance.
Initializing section instance.
Installing recipe plone.recipe.zope2instance.
Getting distribution for 'zope.interface==7.1.1'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 2300, in main
getattr(buildout, command)(args)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 740, in install
[self[part]['recipe'] for part in install_parts]
~~~~^^^^^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1373, in getitem
options._initialize()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1488, in _initialize
self.initialize()
~~~~~~~~~~~~~~~^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1494, in initialize
recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/buildout.py", line 1436, in _install_and_load
zc.buildout.easy_install.install(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
[spec], dest,
^^^^^^^^^^^^^
...<6 lines>...
versions=versions,
^^^^^^^^^^^^^^^^^^
)
^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 1024, in install
return installer.install(specs, working_set)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 797, in install
for dist in self._get_dist(req, ws):
~~~~~~~~~~~~~~^^^^^^^^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 634, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/Users/awo/plone/venv/lib/python3.13/site-packages/zc/buildout/easy_install.py", line 2012, in _move_to_eggs_dir_and_compile
assert newdist is not None # newloc above is missing our dist?!
^^^^^^^^^^^^^^^^^^^
AssertionError

How can I avoid this and go on with the installation?
Br, awo

You may find this tip useful: Tip for macOS pyenv+buildout users

Thank you, but this seems to apply only if python is installed via pyenv, which is not done on my mac.

Two hunches:

  1. If your system Python or your homebrew python gets upgraded, you may (and probably did) hit the same kind of problem.
  2. For that reason, it is generally a good idea to install your own not-moving-target Python via pyenv (which can be installed via homebrew).