No active spark Context Error

Hi, i keep on getting this error while using pyspark:
The currently active SparkContext was created at:

(No active SparkContext.)
Please check what is wrong because it keeps on happening
Thank you


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster