Anonymous
Not applicable

@Eugene Bikkinin​ :

OPTION 1:

The error message suggests that the installation of the `prophet` library failed on the driver node of your Databricks cluster. Specifically, it appears that the installation was unable to locate the file /databricks/python3/bin/f2py.

One possible solution is to try installing the library again, but with the

--no-binary flag. This can sometimes help if there are issues with the pre-built binary packages. This tells Databricks to use pip to install the prophet library, and to use the --no-binary flag

[
  {
    "classification": "pip",
    "pipPackages": [
      {
        "package": "prophet",
        "noBinary": true
      }
    ]
  }
]

OPTION 2:

Steps to install PyPI packages on a Databricks shared job cluster are as below:

  1. Navigate to the Databricks workspace and click on the "Clusters" tab.
  2. Click on the name of the shared job cluster you want to install the PyPI packages on.
  3. Click on the "Libraries" tab and then click on the "Install New" button.
  4. In the "Install Library" dialog box, select "PyPI" as the library source.
  5. Enter the name of the PyPI package you want to install in the "Package" field.
  6. If you want to install a specific version of the package, enter it in the "Version" field. If you want to install the latest version, leave the "Version" field blank.
  7. Click on the "Install" button to install the PyPI package.

Once the PyPI package is installed, it will be available to all jobs running on that shared job cluster.