Exception: Python in worker has different version 3.6 than that in driver 3.8, PySpark cannot run with different minor versions. Please check environment variables PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON are correctly set.
编译版本有问题,需要修改为3.6版本
ctrl+shift+p 输入 interpreter 选择适合自己的版本就行
修改成功