Hello,
I’m having trouble connecting to my AWS S3 bucket from my local Python environment using boto3. When I try to run the following code:
import boto3
s3 = boto3.client('s3')
response = s3.list_objects_v2(Bucket='my-bucket-name')
print(response)
error message:
botocore.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.
I’ve already run aws configure to set up my credentials, but I’m still seeing this error. I’m not sure if this is an issue with my Python installation, SSL configuration, or something else.
Thanks for any insights or suggestions!
Best Regard,
Lusy