When I run the spark's main function in jupyter python I get an error at .appName
function
spark=ps.sql.SparkSession.builder\
.master('local[4]')\
.appName('spark-lecture')\
.getOrCreate()
sc= spark.sparkContext
Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM