PysparkNote006---pycharm加载spark环境

pycharm配置pyspark环境,本地执行pyspark代码
spark安装、添加环境变量不提了

  • File-Settings-Project-Project Structure-add content root
  • 添加如下两个路径
    • D:\code\spark\python\lib\py4j-0.10.7-src.zip
    • D:\code\spark\python\lib\pyspark.zip

PysparkNote006---pycharm加载spark环境_第1张图片

                                2023-07-26 阴 于南京市江宁区

你可能感兴趣的:(★★★PySpark,#,★★Pyspark基础,pycharm,spark)