如果懶得一個一個配置,就直接安裝canopy,在環境變量中的系統變量中加入canopy的Script的路徑,這樣在power shell中就可以直接運行什么ipython notebook啦。
按照此順序安裝吧~
1. Python2.7:
地址:https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi
選擇32位的軟件哦,名字為Windows x86 MSI installer。
安裝方法:直接運行,要注意安裝地址選擇C盤
2. numpy:
地址:http://sourceforge.net/projects/numpy/files/NumPy/
安裝方法:直接運行,要注意一下是否選擇對python2.7的地址哦
3. scipy:
安裝方法:同上
4. easy install 和 pip 用來安裝 .whl
.whl 的安裝需要pip,所以如果沒有pip需要easy install來安裝。easy install和pip在Python27\Scripts里,可以瞅瞅有木有。
如果沒有easy install和pip,來,繼續看
4.1)下載ez_setup安裝easy install,用來安裝pip。easy install和pip在Python27\Scripts里,可以瞅瞅有木有。
地址:http://peak.telecommunity.com/dist/ez_setup.py
4.2)安裝easy install:Python27\Scripts里,運行python ez_setup.py
4.3)安裝pip:Python27\Scripts里,運行easy_install pip
5. Matplotlib
除了上述4項內容,還需要注意:
1) dateutil 1.1 or later
Provides extensions to python datetime handling. If using pip, easy_install or installing from source, the installer will attempt to download and install python_dateutil
from PyPI.
下載地址:python_dateutil-2.4.2-py2.py3-none-any.whl
2) pyparsing
Required for matplotlib’s mathtext math rendering support. If using pip, easy_install or installing from source, the installer will attempt to download and install
pyparsing
from PyPI.
下載地址:pyparsing-2.0.5.win32-py2.7.exe
3) libpng 1.2 (or later)
library for loading and saving PNG files (download). libpng requires zlib.
4)pytz
Used to manipulate time-zone aware datetimes.
2.3 or later5)freetype
library for reading true type font files.
6)cycler 0.9 or later
Composable cycle class used for constructing style-cycles
地址:matplotlib-1.5.0-cp27-none-win32.whl
安裝方法:到Python27\Scripts里,運行pip install matplotlib-1.5.0-cp27-none-win32.whl
注意:1)用pip來安裝時,會自動安裝dateutil和pyparsing,如果不成功自己來安裝吧。2)自動下載pandas
6. Ipython
下載: pip install jupyters
剩下的參照下面網址吧(好懶得我,嘻嘻)