I have run the link_pmml4s_jars_into_spark.py script succesfully

and pmml4s jar files are present in SPARK_HOME location

However, TypeError: 'JavaPackage' object is not callable still occurs

I am running Java Version=1.8.0_302 and Spark Version=3.2.1.
I would kindly appreciate any suggestion what is missing.