02-19-2022 06:38 PM
Hi,
Using db in SageMaker to connect EC2 to S3. Following other examples I get 'AttributeError: module 'dbutils' has no attribute 'fs'....
I guess Im missing an import?
02-20-2022 05:03 PM
You might be using some other package named dbutils.
Try
import pyspark.dbutils dbutils.fs.ls("/mnt")
View solution in original post
02-21-2022 01:56 AM
What Melbourne said or you are using databricks-connect which has limited dbutils functionality.
03-15-2022 09:36 PM
agree with @Werner Stinckens . also may try importing dbutils - @ben Hamilton
never-displayed
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.