I Got this error while creating new-site in version-13

Installing frappe…
Updating DocTypes for frappe : [=============================== ] 79%Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/utils/bench_helper.py”, line 110, in
main()
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/utils/bench_helper.py”, line 20, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/commands/site.py”, line 74, in new_site
_new_site(
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/installer.py”, line 82, in _new_site
install_app(app, verbose=verbose, set_as_patched=not source_sql)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/installer.py”, line 186, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/sync.py”, line 75, in sync_for
import_file_by_path(
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/modules/import_file.py”, line 146, in import_file_by_path
import_doc(
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/modules/import_file.py”, line 275, in import_doc
doc.insert()
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 291, in insert
self.run_post_save_methods()
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 1085, in run_post_save_methods
self.run_method(“on_update”)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 941, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 1264, in composer
return composed(self, method, *args, **kwargs)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 1246, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/model/document.py”, line 938, in fn
return method_object(*args, **kwargs)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 376, in on_update
self.run_module_method(“on_doctype_update”)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 435, in run_module_method
module = load_doctype_module(self.name, self.module)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/modules/utils.py”, line 238, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/init.py”, line 1200, in get_module
return importlib.import_module(modulename)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/Users/hercules/Dev/kyc-bench/apps/frappe/frappe/integrations/doctype/s3_backup_settings/s3_backup_settings.py”, line 10, in
import boto3
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/boto3/init.py”, line 16, in
from boto3.session import Session
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/boto3/session.py”, line 17, in
import botocore.session
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/session.py”, line 30, in
import botocore.credentials
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/credentials.py”, line 34, in
from botocore.config import Config
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/config.py”, line 16, in
from botocore.endpoint import DEFAULT_TIMEOUT, MAX_POOL_CONNECTIONS
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/endpoint.py”, line 22, in
from botocore.awsrequest import create_request_object
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/awsrequest.py”, line 26, in
import botocore.utils
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/utils.py”, line 33, in
import botocore.httpsession
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/botocore/httpsession.py”, line 18, in
from urllib3.contrib.pyopenssl import orig_util_SSLContext as SSLContext
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py”, line 50, in
import OpenSSL.crypto
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/OpenSSL/crypto.py”, line 1556, in
class X509StoreFlags(object):
File “/Users/hercules/Dev/kyc-bench/env/lib/python3.10/site-packages/OpenSSL/crypto.py”, line 1577, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module ‘lib’ has no attribute ‘X509_V_FLAG_CB_ISSUER_CHECK’

Check if these help: