cancel
Showing results for 
Search instead for 
Did you mean: 
Databricks Free Trial Help
Engage in discussions about the Databricks Free Trial within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

I get error

dona168lee
New Contributor

Hi everyone,

I'm trying to connect my local Python environment to an AWS S3 bucket using the boto3 library. However, when I try to run the code to list the files in my S3 bucket, I encounter an authentication error:

import boto3
s3 = boto3.client('s3')
response = s3.list_objects_v2(Bucket='my-bucket-name')
print(response)

I get error:

botocore.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.

I’ve already configured my AWS credentials using the aws configure command, but I’m still encountering this error. Has anyone else experienced this before or does anyone have suggestions on how to resolve this?

Thanks in advance for your help!

Dona

1 REPLY 1

hari-prasad
Valued Contributor II

Hi @dona168lee ,

Can you share additional details how your environment is setup or which DBR version you are using?

Followed with how you installed boto3 package and which version of boto3 is installed?



Regards,
Hari Prasad

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now