โ12-10-2021 01:00 AM
Is Graphframes for python meant to be installed by default on Databricks 9.1 LTS ML? Previously I was running the attached python command on 7.3 LTS ML with no issue, however now I am getting "no module named graphframes" when trying to import the package, but I thought this came pre-installed with 9.1 LTS ML.
โ12-10-2021 01:32 AM
Hi @Jonathan Davisโ,
Note:-By default, "graphframes" is not installed on the databricks.
You need to install the packages explicitly.
%sh /databricks/python3/bin/pip install <packagename>
Here is your case:-
%sh /databricks/python3/bin/pip install graphframes
โ12-10-2021 01:08 AM
Hi @ JonHMDavis! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will get back to you soon. Thanks.
โ12-10-2021 01:32 AM
Hi @Jonathan Davisโ,
Note:-By default, "graphframes" is not installed on the databricks.
You need to install the packages explicitly.
%sh /databricks/python3/bin/pip install <packagename>
Here is your case:-
%sh /databricks/python3/bin/pip install graphframes
โ12-10-2021 01:42 AM
Thank you @Kaniz Fatmaโ , I will do that. I was just asking as it states here that graphframes comes pre-installed: https://docs.databricks.com/spark/latest/graph-analysis/graphframes/index.html
โ12-10-2021 03:56 AM
Hi @Jonathan Davisโ , By default, "graphframes" is not installed on the databricks.
โ12-13-2021 12:10 AM
Hm I thought the same thing as the docs state "The GraphFrames package is included in Databricks Runtime for Machine Learning".
But that could have changed...