I encountered this issue while attempting to get started with pyspark. After some digging, I figured out how to correctly set the needed environment variables, and can run t