核心:
在E:\python\Lib\site-packages(python的目录)新建pyspark.pth,里面写上E:\hadoop\spark-2.2.0-bin-hadoop2.7\python(spark中python的位置)