然后pycharm上还报这个Exception: Python in worker has different version 2.7 than that in driver 3.5, PySpark cannot run with different minor versions.Please check environment variables PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON are correctly set.
但是我在linux上启动./pyspark的时候,明明显示python版本是3.6的,并不是2.7