I'm trying to run the accepted answer mentioned here on a Azure Databricks Notebook which yields the following error ModuleNotFoundError: No module named 'dbutils'
After looking up the error I came across this post, however, I'm unable to determine whether the errors are similar. The post isn't very helpful either.
Running dbutils.fs.ls(path)
works but Importing the module using
from dbutils import FileInfo
yields the above error.
I'm also unable to deduce if this is an issue with different module names overlapping.
Please Advise.