1. 安装java8
2. pip3 install pyspark
3. export SPARK_HOME = "/usr/local/lib/python3.6/dist-packages/pyspark"
4. export SPARK_PYTHON = python3
2. pip3 install pyspark
3. export SPARK_HOME = "/usr/local/lib/python3.6/dist-packages/pyspark"
4. export SPARK_PYTHON = python3