V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Jul 20, 2016 · 7647 views
    This topic created in 3575 days ago, the information mentioned may be changed or developed.
    我用 PIP 安装 pyspark 结果提示我没找到,去 PYPI 也没找到,请问在哪能找到安装包?
    Supplement 1  ·  Jul 20, 2016
    感谢大家积极的回复,我只要 python 开发包并不是要编译 spark......
    5 replies    2016-07-20 14:35:49 +08:00
    herozhang
        1
    herozhang  
       Jul 20, 2016
    herozhang
        3
    herozhang  
       Jul 20, 2016
    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  
       Jul 20, 2016
    wmttom
        5
    wmttom  
       Jul 20, 2016   ❤️ 1
    其实你写代码时候当做 pyspark 包存在就行了,扔到 spark 上跑自然就有了。别忘了把所有依赖打成 zip 一起加上去。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2521 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:07 · PVG 17:07 · LAX 02:07 · JFK 05:07
    ♥ Do have faith in what you're doing.