Search code examples
databricksdatabricks-cli

databricks cli dbfs command is is throwing error


I am trying to execute below command in git bash as well as in cmd. However its not working. databricks cli is already installed using pip install databricks-cli installed

  • dbfs rm -r dbfs:/reco/user/feature/branch Error: TypeError: an integer is required (got type bytes)

Solution

  • uninstalling pyspark 3 worked for me. I am still using python 3.8.5 so looks like issue was after installing pyspark 3