After running this command:
$ sudo /opt/certbot/bin/certbot renew
ERROR: Could not find a version that satisfies the requirement apache (from versions: none)
ERROR: No matching distribution found for apache
Have installed Certbot as follows:
Successfully installed boto3-1.26.154 botocore-1.29.154 certbot-dns-route53-2.6.0 jmespath-1.0.1 python-dateutil-2.8.2 s3transfer-0.6.1 urllib3-1.26.16