Error installation *Make

Hello
Please how can I solve this problem when installing gromacs 22.2 on ubuntu 22?

/Downloads/gromacs-2022.2/build$ make
– Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development Development.Module Development.Embed) (found suitable version “3.10.12”, minimum required is “3.7”)
– Checking for module ‘mpi-cxx’
– No package ‘mpi-cxx’ found
– The GROMACS-managed build of FFTW 3 will configure with the following optimizations: --enable-sse2;–enable-avx;–enable-avx2
– Configuring done
– Generating done
– Build files have been written to: /home/abd/Downloads/gromacs-2022.2/build
[ 25%] Built target fftwBuild
Consolidate compiler generated dependencies of target muparser
[ 25%] Built target muparser
[ 25%] Generating release version information
[ 25%] Built target release-version-info
Consolidate compiler generated dependencies of target thread_mpi
[ 25%] Built target thread_mpi
Consolidate compiler generated dependencies of target tng_io_obj
[ 25%] Built target tng_io_obj
Consolidate compiler generated dependencies of target tng_io_zlib
[ 25%] Built target tng_io_zlib
Consolidate compiler generated dependencies of target lmfit_objlib
[ 25%] Built target lmfit_objlib
Consolidate compiler generated dependencies of target linearalgebra
[ 25%] Built target linearalgebra
Consolidate compiler generated dependencies of target modularsimulator
[ 25%] Built target modularsimulator
Consolidate compiler generated dependencies of target scanner
[ 25%] Built target scanner
[ 25%] Building NVCC (Device) object src/gromacs/CMakeFiles/libgromacs.dir/domdec/libgromacs_generated_gpuhaloexchange_impl.cu.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘…’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘…’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
CMake Error at libgromacs_generated_gpuhaloexchange_impl.cu.o.Release.cmake:280 (message):
Error generating file
/home/abd/Downloads/gromacs-2022.2/build/src/gromacs/CMakeFiles/libgromacs.dir/domdec/./libgromacs_generated_gpuhaloexchange_impl.cu.o

make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:509: src/gromacs/CMakeFiles/libgromacs.dir/domdec/libgromacs_generated_gpuhaloexchange_impl.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4698: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Hi! This problem had been discussed on the forums before, e.g. Difficulties in installing GROMACS.