V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
SlipStupig
V2EX  ›  Python

python 怎么安装 pyspark

  •  
  •   SlipStupig · 2016-07-20 13:27:21 +08:00 · 7176 次点击
    这是一个创建于 2843 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我用 PIP 安装 pyspark 结果提示我没找到,去 PYPI 也没找到,请问在哪能找到安装包?
    第 1 条附言  ·  2016-07-20 14:25:49 +08:00
    感谢大家积极的回复,我只要 python 开发包并不是要编译 spark......
    5 条回复    2016-07-20 14:35:49 +08:00
    herozhang
        1
    herozhang  
       2016-07-20 13:44:14 +08:00
    fzinfz
        2
    fzinfz  
       2016-07-20 13:45:33 +08:00
    herozhang
        3
    herozhang  
       2016-07-20 13:46:06 +08:00
    The bin/pyspark script launches a Python interpreter that is configured to run PySpark applications. To use pyspark interactively, first build Spark, then launch it directly from the command line without any options:

    $ sbt/sbt assembly
    $ ./bin/pyspark
    lilydjwg
        4
    lilydjwg  
       2016-07-20 13:47:09 +08:00
    wmttom
        5
    wmttom  
       2016-07-20 14:35:49 +08:00   ❤️ 1
    其实你写代码时候当做 pyspark 包存在就行了,扔到 spark 上跑自然就有了。别忘了把所有依赖打成 zip 一起加上去。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   745 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:14 · PVG 05:14 · LAX 14:14 · JFK 17:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.