Module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

I’m getting the following message when doing bench update, how to git rid of it
Using version 14.6

frappe.integrations.doctype.s3_backup_settings.s3_backup_settings.take_backups_daily is not a valid method: module ‘lib’ has no attribute ‘X509_V_FLAG_CB_ISSUER_CHECK’
frappe.integrations.doctype.s3_backup_settings.s3_backup_settings.take_backups_weekly is not a valid method: module ‘lib’ has no attribute ‘X509_V_FLAG_CB_ISSUER_CHECK’
frappe.integrations.doctype.s3_backup_settings.s3_backup_settings.take_backups_monthly is not a valid method: module ‘lib’ has no attribute ‘X509_V_FLAG_CB_ISSUER_CHECK’

from your bench folder, type the command:
env/bin/pip3 install pyOpenSSL --upgrade.
I hope that helps

3 Likes

Thank you @chrismberi , your solution is perfect

2 Likes

Thank you very much your solution is amazing :wink:

1 Like