- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2023 05:34 PM
@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:
- Navigate to the Databricks workspace and click on the "Clusters" tab.
- Click on the name of the shared job cluster you want to install the PyPI packages on.
- Click on the "Libraries" tab and then click on the "Install New" button.
- In the "Install Library" dialog box, select "PyPI" as the library source.
- Enter the name of the PyPI package you want to install in the "Package" field.
- 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.
- 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.