title: pyspark error does not exist in the jvm error when initializing SparkContext
body: <p>I am using spark over emr and writing a pyspark script, 
  I am getting an error when trying to </p>
  
  <pre><code>from pyspark import SparkContext
  sc = SparkContext()
  </code></pre>
  
  <p>this is the error </p>
  
  <pre><code>File "pyex.py", line 5, in &lt;module&gt;
      sc = SparkContext()   File "/usr/local/lib/python3.4/site-packages/pyspark/context.py", line 118, in __init__
      conf, jsc, profiler_cls)   File "/usr/local/lib/python3.4/site-packages/pyspark/context.py", line 195, in _do_init
      self._encryption_enabled = self._jvm.PythonUtils.getEncryptionEnabled(self._jsc)   File "/usr/local/lib/python3.4/site-packages/py4j/java_gateway.py", line 1487, in __getattr__
      "{0}.{1} does not exist in the JVM".format(self._fqn, name)) py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM
  </code></pre>
  
  <p>I found <a href="https://stackoverflow.com/questions/34192909/py4jerror-sparkconf-does-not-exist-in-the-jvm">this</a> answer stating that I need to import sparkcontext but this is not working also.</p>