Pyspark Setup in local

Hi Team,

Following the Udemy course on setting up Python, Pyspark, I ran into an issue while trying to hit the command - pyspark in CMD home after setting up all the environment variables. Error mentioned below. Please provide any suggested fix.

py4j.protocol.Py4JJavaError: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext.
: java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.storage.StorageUtils$

Hello, I had the same issue. Were you able to fix?
Thanks

Hello, Unfortunately no. Still trying to figure out what the issue is.

Hello, I managed to fix the problem by installing and using the jdk 8.
Thanks