init script capture the Libraries
Sharukh Kundagol
145
Reputation points
I Have requirment to capture all the py libraries in a files as part of init script. i have below command in init script.
pip freeze > /dbfs/databricks/scripts/library_versions.txt
but getting error : /dbfs/databricks/scripts/new_libraries-init.sh: 8: cannot create /dbfs/databricks/scripts/library_versions.txt : Invalid argument This error will not come when i use dbutils.fs.put to create the sh file, but when i deploy the script part of devops or copy the sh file from adls to dbfs this error is apearing .
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
Sign in to answer