I am creating a Streamlit app based on a code in Databricks. Part of my code needs to read a json file using:
mapping = json.loads(dbutils.fs.head(file_path,100000))
However when deploying the app I get the error:
ModuleNotFoundError: No module named ‘dbutils’. How can I get around this?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.