1. python
2. Ipython
3. qtconsole
4. Numpy
5. Scipy
6. matplotlib
7. scikit-learn
Mac用户
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
,然后再安装Python3.4,命令$ brew install python3
$ python -m pip install ipython[all]
Mac用户$ pip install ipython[all]
[all] 意味着会下载并安装Ipython以及相关需要的其他包:jinja2
needed for the notebooksphinx
needed for nbconvertpyzmq
needed for IPython’s parallel computing features, qt console and notebookpygments
used by nbconvert and the Qt console for syntax highlightingtornado
needed by the web-based notebooknose
used by the test suitereadline (on OS X) or pyreadline (on Windows)
needed for the terminal
还有一些不能通过pip安装,需要单独安装比如:Qt, PyQt 和 pandoc
Windows用户install setuptools
$ python -m pip install pyreadline
$ python -m pip install ipython
Mac用户pip install ipython
readline (for command line editing, tab completion, etc.)python -m pip install "ipython[terminal]"
nose (to run the IPython test suite)python -m pip install "ipython[test]"
pyzmq (for IPython.parallel (parallel computing))python -m pip install "ipython[parallel]"
notebook (Dependencies for the IPython HTML notebook)python -m pip install "ipython[notebook]"
ipython notebook
更多信息,参考Ipython官网
包含:pyzmq、pygments 和 PyQt(or PySide)
$ pip install pyzmq pygments
Shortcut:$ pip install "ipython[qtconsole]"
PyQt/PySide不能通过pip安装
$ pip install numpy
matplotlib是基于numpy的一套Python工具包,提供了丰富的数据绘图工具。
注: 使用命令pip list
查看除了matplotlib你是否还安装了:setuptools
numpy
Python-dateutil
pytz
pyparsing
- scikit-learn是用于机器学习的Python工具包
- 为数据挖掘和数据分析提供简单高效的工具
- 基于NumPy, SciPy, 和 matplotlib
- 开源,BSD license
Scikit-learn需要环境:
Python (>= 2.6 or >= 3.3)
Numpy (>= 1.6.1)
Scipy (>= 0.9)
Windows用户python -m pip install -U scikit-learn
pip install -U scikit-learn
大功告成,play with data and have fun!
2025 - 快车库 - 我的知识库 重庆启连科技有限公司 渝ICP备16002641号-10
企客连连 表单助手 企服开发 榜单123