Error in bench init frappe-bench && cd frappe-bench (Centos 6.9)

Hi, can you help me to figure out this error. Thanks…

bench init frappe-bench && cd frappe-bench
INFO:bench.utils:virtualenv -q env -p /opt/rh/python27/root/usr/bin/python
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install six
INFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit
INFO:bench.app:getting app frappe
INFO:bench.utils:git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --origin upstream
Cloning into ‘frappe’…
remote: Counting objects: 145989, done.
remote: Total 145989 (delta 0), reused 0 (delta 0), pack-reused 145989
Receiving objects: 100% (145989/145989), 121.08 MiB | 10.07 MiB/s, done.
Resolving deltas: 100% (111240/111240), done.
(‘installing’, u’frappe’)
INFO:bench.app:installing frappe
INFO:bench.utils:frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir
Command “/opt/bench/frappe-bench/env/bin/python -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-UgPf0B/scandir/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-VYdWIG-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/bench/frappe-bench/env/include/site/python2.7/scandir” failed with error code 1 in /tmp/pip-build-UgPf0B/scandir/
Traceback (most recent call last):
File “/opt/rh/python27/root/usr/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/opt/rh/python27/root/usr/lib64/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/opt/rh/python27/root/usr/lib64/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/opt/rh/python27/root/usr/lib64/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/opt/rh/python27/root/usr/lib64/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/opt/rh/python27/root/usr/lib64/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/opt/bench/bench-repo/bench/commands/make.py”, line 21, in init
verbose=verbose, clone_from=clone_from, skip_bench_mkdir=skip_bench_mkdir, skip_redis_config_generation=skip_redis_config_generation)
File “/opt/bench/bench-repo/bench/utils.py”, line 64, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/opt/bench/bench-repo/bench/app.py”, line 76, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/opt/bench/bench-repo/bench/app.py”, line 107, in install_app
find_links=find_links))
File “/opt/bench/bench-repo/bench/utils.py”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir

I would start with an upgrade to CentOS 7 w/ latest patches. 6.9 is very old and out of support and is not really supported with the easy install script.