Installation Error - Ubuntu 22.04.4 LTS (Jammy Jellyfish)

I followed the instructions guideliness and failed with the installation the the final step. Can anyone provide some help?

Best regards,
Kamil

(senaite) senaite@ubuntu:~/senaitelims$ PYTHONHTTPSVERIFY=0 buildout
Uninstalling unifiedinstaller.
Uninstalling zopepy.
Uninstalling backup.
Uninstalling repozo.
Uninstalling instance.
Installing instance.
Getting distribution for 'senaite.lims'.
Got senaite.lims 2.5.0.
Getting distribution for 'simplejson==2.5.2'.
In file included from /home/senaite/miniconda2/envs/senaite/include/python2.7/Python.h:83,
                 from simplejson/_speedups.c:1:
simplejson/_speedups.c: In function ‘encoder_listencode_obj’:
/home/senaite/miniconda2/envs/senaite/include/python2.7/object.h:439:18: warning: comparison of distinct pointer types lacks a cast
  439 |     (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
      |                  ^~
simplejson/_speedups.c:2263:36: note: in expansion of macro ‘PyObject_TypeCheck’
 2263 |         else if (s->use_decimal && PyObject_TypeCheck(obj, s->Decimal)) {
      |                                    ^~~~~~~~~~~~~~~~~~
simplejson/_speedups.c:2263:61: warning: passing argument 2 of ‘PyType_IsSubtype’ from incompatible pointer type [-Wincompatible-pointer-types]
 2263 |         else if (s->use_decimal && PyObject_TypeCheck(obj, s->Decimal)) {
/home/senaite/miniconda2/envs/senaite/include/python2.7/object.h:439:60: note: in definition of macro ‘PyObject_TypeCheck’
  439 |     (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
      |                                                            ^~
/home/senaite/miniconda2/envs/senaite/include/python2.7/object.h:437:50: note: expected ‘PyTypeObject *’ {aka ‘struct _typeobject *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  437 | PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
      |                                                  ^~~~~~~~~~~~~~
zip_safe flag not set; analyzing archive contents...
simplejson.tests.__init__: module references __file__
Got simplejson 2.5.2.
Getting distribution for 'senaite.jsonapi==2.5.0'.
Got senaite.jsonapi 2.5.0.
Getting distribution for 'senaite.impress==2.5.0'.
Got senaite.impress 2.5.0.
Getting distribution for 'senaite.app.supermodel==2.5.0'.
Got senaite.app.supermodel 2.5.0.
Getting distribution for 'senaite.app.spotlight==2.5.0'.
Got senaite.app.spotlight 2.5.0.
Getting distribution for 'senaite.app.listing==2.5.0'.
warning: no files found matching '*.rst'
warning: no previously-included files matching '*' found under directory 'src/senaite/app/listing/tests'
warning: no previously-included files matching '*' found under directory 'webpack'
warning: no previously-included files matching '*.pyc' found under directory 'src'
Got senaite.app.listing 2.5.0.
Getting distribution for 'senaite.core==2.5.0'.
warning: no previously-included files matching '*' found under directory 'docs'
warning: no previously-included files matching '*' found under directory 'src/senaite/app/listing'
warning: no previously-included files matching '*' found under directory 'src/senaite/app/spotlight'
warning: no previously-included files matching '*' found under directory 'src/senaite/app/supermodel'
warning: no previously-included files matching '*.pyc' found under directory 'src'
warning: no previously-included files matching '*' found under directory 'webpack'
  File "build/bdist.linux-x86_64/egg/senaite/core/skins/senaite_scripts/getDisplayView.py", line 11
    return value
SyntaxError: 'return' outside function

  File "build/bdist.linux-x86_64/egg/senaite/core/skins/senaite_scripts/member_is_client.py", line 17
    return "Clients" in member_groups
SyntaxError: 'return' outside function

  File "build/bdist.linux-x86_64/egg/bika/lims/skins/bika/guard_handler.py", line 10
    return wf_guard_handler(context, transition_id)
SyntaxError: 'return' outside function

  File "/home/senaite/buildout-cache/eggs/tmpXubIPy/senaite.core-2.5.0-py2.7.egg/bika/lims/skins/bika/guard_handler.py", line 10
    return wf_guard_handler(context, transition_id)
SyntaxError: 'return' outside function

  File "/home/senaite/buildout-cache/eggs/tmpXubIPy/senaite.core-2.5.0-py2.7.egg/senaite/core/skins/senaite_scripts/getDisplayView.py", line 11
    return value
SyntaxError: 'return' outside function

  File "/home/senaite/buildout-cache/eggs/tmpXubIPy/senaite.core-2.5.0-py2.7.egg/senaite/core/skins/senaite_scripts/member_is_client.py", line 17
    return "Clients" in member_groups
SyntaxError: 'return' outside function

Got senaite.core 2.5.0.
Version and requirements information containing plone:
  [versions] constraint on plone: 4.3.19
  Base installation request: 'Plone', 'Pillow', 'senaite.lims', 'simplejson', 'plone.recipe.zope2instance'
  Requirement of plone.recipe.zope2instance==4.4.1: ZODB3>=3.9
  Requirement of plone.recipe.zope2instance==4.4.1: Zope2>=2.12.1
  Requirement of plone.recipe.zope2instance==4.4.1: zc.recipe.egg
  Requirement of plone.recipe.zope2instance==4.4.1: mailinglogger
  Requirement of plone.recipe.zope2instance==4.4.1: setuptools
  Requirement of plone.recipe.zope2instance==4.4.1: zc.buildout
  Requirement of senaite.lims: Plone==5.2.14
  Requirement of Plone==4.3.19: wicked
  Requirement of Plone==4.3.19: plone.app.theming
  Requirement of Plone==4.3.19: plone.app.openid
  Requirement of Plone==4.3.19: plone.app.iterate
  Requirement of Plone==4.3.19: plone.app.dexterity
  Requirement of Plone==4.3.19: plone.app.caching
  Requirement of Plone==4.3.19: Products.CMFPlone
  Requirement of Plone==4.3.19: Products.CMFPlacefulWorkflow
  Requirement of Plone==4.3.19: setuptools
  Requirement of senaite.core==2.5.0: plone.app.jquerytools
  Requirement of senaite.core==2.5.0: plone.subrequest
  Requirement of senaite.core==2.5.0: plone.resource
  Requirement of senaite.core==2.5.0: plone.jsonapi.core
  Requirement of senaite.core==2.5.0: plone.app.z3cform
  Requirement of senaite.core==2.5.0: plone.app.relationfield
  Requirement of senaite.core==2.5.0: plone.app.referenceablebehavior
  Requirement of senaite.core==2.5.0: plone.app.iterate
  Requirement of senaite.core==2.5.0: plone.app.dexterity
  Requirement of senaite.core==2.5.0: plone.api
While:
  Installing instance.
Error: The requirement ('Plone==5.2.14') is not allowed by your [versions] constraint (4.3.19)
(senaite) senaite@app-cdd:~/senaitelims$ ^C
(senaite) senaite@app-cdd:~/senaitelims$ vim buildout.cfg
(senaite) senaite@app-cdd:~/senaitelims$ PYTHONHTTPSVERIFY=0 buildout
Getting distribution for 'plone.recipe.unifiedinstaller==5.2.14'.
While:
  Installing.
  Getting section unifiedinstaller.
  Initializing section unifiedinstaller.
  Installing recipe plone.recipe.unifiedinstaller.
  Getting distribution for 'plone.recipe.unifiedinstaller==5.2.14'.
Error: Couldn't find a distribution for 'plone.recipe.unifiedinstaller==5.2.14'.
(senaite) senaite@app-cdd:~/senaitelims$ vim buildout.cfg
(senaite) senaite@app-cdd:~/senaitelims$ PYTHONHTTPSVERIFY=0 buildout
Getting distribution for 'plone.recipe.unifiedinstaller==4.3.19'.
While:
  Installing.
  Getting section unifiedinstaller.
  Initializing section unifiedinstaller.
  Installing recipe plone.recipe.unifiedinstaller.
  Getting distribution for 'plone.recipe.unifiedinstaller==4.3.19'.
Error: Couldn't find a distribution for 'plone.recipe.unifiedinstaller==4.3.19'.
(senaite) senaite@app-cdd:~/senaitelims$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
````Preformatted text`

I can’t figure out what the errors mean, but I can tell you these installation instructions work: Wikipaulia — An epidemiologist dabbles in statistics, coding, open source software and the cloud.

I’ve done a better version here - this is what worked for me on Ubuntu 22.4.04.