2.1 pycharm远程开发调试
- 2.1.1 python版本一致
#所有版本都保持3.6.6#root cd /usr/local/python3//bin/pip3 list备注:[python模块的导入顺序是syss.path可以添加到syss中.path。当前目录->PYTHONPATH->安装目录,因此设置了PYTHONPATH,在这里自动引入模块安装。]#检查 /etc/profile Pyspark是否导入Pyspark? py4j
- 2.2.2 pycharm配置
deployment配置tolstolst->Deployment->Configuration
集成远程sdk
Setting->Project Interpreter
Run configuration
pyspark本地介绍 py4j [本地开发调试需要]