-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'pyspark.tests' #414
Comments
@MordicusEtCubitus I am facing the same issue. Were you able to resolve this? |
I do not remember, but yes, I must have because my notebook is working, here are my notes on installation first a try to translate in english then my original in french: Graphframes installationInstallation can be done with the command described on the package page with one of the commands bash$ $SPARK_HOME/bin/spark-shell --packages graphframes:graphframes:<version> In our case: bash$ $SPARK_HOME/bin/pyspark --packages graphframes:graphframes:0.8.2-spark3.2-s_2.12
OR
bash$ pyspark --packages graphframes:graphframes:0.8.2-spark3.2-s_2.12 With Finally, if you have any difficulty, you can try this tutorial which explains how to [manually install the graphframes package](https://jentekllc8888.medium.com/quick-and-easy-setup-graphframes-with-apache-spark- for-python-98b716c91310), this one is also interesting. In order to make this lab work with jupyter, the JAR of graphframes has been copied into the JARS folder of spark:
Installation de graphframeL'installation peut se faire avec la commande décrite sur la page du package avec une des commandes bash$ $SPARK_HOME/bin/spark-shell --packages graphframes:graphframes:<version> Dans notre cas: bash$ $SPARK_HOME/bin/pyspark --packages graphframes:graphframes:0.8.2-spark3.2-s_2.12
OU
bash$ pyspark --packages graphframes:graphframes:0.8.2-spark3.2-s_2.12 Avec Enfin, si vous rencontrez des difficultés, vous pouvez essayer ce tutoriel qui explique comment installer manuellement le package graphframes, celui-ci est aussi intéressant. Afin de faire fonctionner ce TP avec jupyter, le JAR de graphframes a été copié dans le dossier JARS de spark:
|
Dears,
First thanks for this great graphframe module.
I have an issue using Graphframe: 0.8.2-spark3.2-s_2.12 with Spark 3.2.1 on Linux
I've tried to import graphframes examples like this but:
Which raise an exception:
As explained here #344 it appears that
pyspark.test
is now namedpyspark.testing
Could it be solved ?
Thanks in advance,
Gaël,
The text was updated successfully, but these errors were encountered: