Unable to run a basic GraphFrames example

前端 未结 5 1770
忘掉有多难
忘掉有多难 2021-02-07 16:28

Trying to run a simple GraphFrame example using pyspark.

spark version : 2.0

graphframe version : 0.2.0

I am able to import graphframes in Jupyter:

5条回答
  •  一向
    一向 (楼主)
    2021-02-07 17:05

    For PyCharm go to configurations and add the environment variable:

    Name: PYSPARK_SUBMIT_ARGS

    Value: --packages graphframes:graphframes:0.2.0-spark2.0-s_2.11 pyspark-shell

    I've found it doesn't work for me without the pyspark-shell at the end

提交回复
热议问题