School module installation problem

I am trying to install school and lms app using this link.

But I am getting the error as described below:

Ignoring dependencies of schools. To install dependencies use --resolve-deps
Installing schools
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/schools
error: subprocess-exited-with-error

× python egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/home/frappe/frappe-bench/apps/schools/”, line 3, in
from pip.req import parse_requirements
ModuleNotFoundError: No module named ‘pip.req’
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
File “/usr/local/lib/python3.10/dist-packages/bench/”, line 127, in cli
File “/usr/lib/python3/dist-packages/click/”, line 1128, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/”, line 1053, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/”, line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/”, line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/”, line 754, in invoke
return __callback(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/commands/”, line 159, in get_app
File “/usr/local/lib/python3.10/dist-packages/bench/”, line 444, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/”, line 126, in wrapper_fn
return fn(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/”, line 242, in install
File “/usr/local/lib/python3.10/dist-packages/bench/”, line 573, in install_app
File “/usr/local/lib/python3.10/dist-packages/bench/”, line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/”, line 155, in exec_cmd
raise CommandFailedError

Please help me with installation.