ImportError: cannot import name ‘SparkSession‘

Importerror: cannot import name ‘sparksession’
cannot find sparksession
reference https://databricks.com/blog/2016/08/15/how-to-use-sparksession-in-apache-spark-2-0.html

Sparksession is only available after spark2.0
so we need to change the spark version

wget
https://archive.apache.org/dist/spark/spark-2.3.0/
Choose your own version

I cried and went to install it again

Read More: