開始使用 Pyhton 之前,首先要確定電腦上能不能執行 Pyhton 程式。本教學將需要 Python 3.4 或更高的版本,因此請確認電腦上是否有對應版本。若不確定電腦上是否已經安裝 Python,建議直接按照以下步驟設定,以保證教學中的程式皆能夠正常執行。由於各作業系統安裝流程不同,以下請按照作業系統,選擇自己需要的部份閱讀。
Tested with Apache Spark 2.1.0, Python 2.7.13 and Java 1.8.0_112
For older versions of Spark and ipython, please, see also previous version of text.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * |
- Install Python 3.7.x from https://www.python.org/downloads/ or via homebrew.
$ brew install python3 # Installed at /usr/local/Cellar/python3
Check that python3 has been installed by running it at the terminal:
$ python3
>>> Python 3.7.2
- Download
get-pip.pyfrom https://bootstrap.pypa.io/get-pip.py and install (this should already be installed if python was installed from python.org or homebrew):
11 月開始進行講者第一階段 10 人邀請,然後 Outing 可能無法在 11 月舉辦,工作上一些事情前半個月太忙導致有些進度似乎沒有追上(反省中)。現在比較擔心是 Keynote 進度不如預期,難怪當時亮會提到修生養性這個說法 XD。是說我也沒有他那麼厲害和積極。
整理 11 月清單:
- Keynote 第二階段名單
- 志工招募
- 徵稿主題討論、unconference 流程討論。可參考 code for america
- 議程組月會
- Sprint 的參與