pycharm远程连接linux pyspark
1、确保remote端python、spark安装正确
设置必要的环境变量
2、本地pycharm设置
file > settings > project interpreter:
project interpreter > add remote(前提:remote端python安装成功):
注意,这里的python路径为python interpreter path,如果python安装在其它路径,要把路径改过来
run > edit configuration (前提:虚拟机中共享本地目录成功):
此处我配置映射是在tools中进行的
tools > dployment > configuration
总结
以上为个人经验,希望能给大家一个参考,也希望大家多多支持代码网。
发表评论