博客
关于我
mac下Python2运行SparkSQL
阅读量:96 次
发布时间:2019-02-26

本文共 889 字,大约阅读时间需要 2 分钟。

?????Anaconda ?????

?????Anaconda?????????????????????????????MacOS????????Anaconda???

1. ??Anaconda

?????Anaconda?????????????MacOS???Anaconda????????Python 2.7 version??????Spark?????????????

???????????????????????

2. ??????

????????????????????

export SPARK_HOME=/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7export PATH=$PATH:$SPARK_HOME/binexport PYTHONPATH=/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7/python:/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7/python/lib/py4j-0.10.3-src.zipexport PYSPARK_DRIVER_PYTHON=/anaconda2/bin/ipythonexport PATH="/anaconda2/bin:$PATH"

??????????????????????Spark?Python???????

3. ??PyCharm

?PyCharm IDE?????????????

1.??PyCharm???????????????????2. ???? Interpreter???????+??????Python????3. ???????????Anaconda?????????/anaconda2/bin/python???????????4. ??Spark?Python?????????PyCharm?????????

?????????????????????????????Spark???????????

转载地址:http://sgyz.baihongyu.com/

你可能感兴趣的文章
QFileSystemModel
查看>>
Powershell DSC 5.0 - 参数,证书加密账号,以及安装顺序
查看>>
PowerShell 批量签入SharePoint Document Library中的文件
查看>>
Powershell 自定义对象小技巧
查看>>
pytorch从预训练权重加载完全相同的层
查看>>
PowerShell~发布你的mvc网站
查看>>
PowerShell使用详解
查看>>
Powershell制作Windows安装U盘
查看>>
powershell命令
查看>>
Powershell如何查看本地公网IP
查看>>
pytorch从csv加载自定义数据模板
查看>>
powershell对txt文件的服务器进行ping操作
查看>>
powershell常用
查看>>
PowerShell操作XML遇到的问题
查看>>
PowerShell攻击工具Empire实战
查看>>
PowerShell攻击工具Nishang实战
查看>>
PowerShell攻击工具PowerSploit实战
查看>>
Powershell管理系列(四)Lync server 2013 批量启用语音及分配分机号
查看>>
PowerShell脚本运行完 不要马上关闭用什么命令可以停留窗口窗口
查看>>
PowerShell远程连接到Windows
查看>>