title: TypeError: 'JavaPackage' object is not callable (spark._jvm)
body: <p>I'm setting up <a href="https://datasystemslab.github.io/GeoSpark/tutorial/geospark-python/" rel="noreferrer">GeoSpark Python</a> and after installing all the pre-requisites, I'm running the very basic code examples to test it.</p>
  
  <pre class="lang-py prettyprint-override"><code>from pyspark.sql import SparkSession
  from geo_pyspark.register import GeoSparkRegistrator
  
  
  spark = SparkSession.builder.\
          getOrCreate()
  
  GeoSparkRegistrator.registerAll(spark)
  
  df = spark.sql("""SELECT st_GeomFromWKT('POINT(6.0 52.0)') as geom""")
  
  df.show()
  </code></pre>
  
  <p>I tried running it with <code>python3 basic.py</code> and <code>spark-submit basic.py</code>, both give me this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/jessica/Downloads/geo_pyspark/basic.py", line 8, in &lt;module&gt;
      GeoSparkRegistrator.registerAll(spark)
    File "/home/jessica/Downloads/geo_pyspark/geo_pyspark/register/geo_registrator.py", line 22, in registerAll
      cls.register(spark)
    File "/home/jessica/Downloads/geo_pyspark/geo_pyspark/register/geo_registrator.py", line 27, in register
      spark._jvm. \
  TypeError: 'JavaPackage' object is not callable
  </code></pre>
  
  <p>I'm using Java 8, Python 3, Apache Spark 2.4, my <code>JAVA_HOME</code> is set correctly, I'm running Linux Mint 19. My <code>SPARK_HOME</code> is also set:</p>
  
  <pre><code>$ printenv SPARK_HOME
  /home/jessica/spark/
  </code></pre>
  
  <p>How can I fix this?</p>