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...
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.