pycharm运行pyspark报错:Python worker failed to connect back

解决办法就是在系统变量中加入
变量名:PYSPARK_PYTHON
值:看下图从pycharm中绿色画圈复制即可
pycharm运行pyspark报错:Python worker failed to connect back_第1张图片
然后记得再重启pycharm重新运行即可,问题解决!

你可能感兴趣的:(pyspark报错集锦,pycharm,python)