Windos7(32位)安装Python2.7,再加上numpy、scipy、Matplotlib、Ipython、pandas


如果懒得一个一个配置,就直接安装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:

地址:http://sourceforge.net/projects/scipy/files/scipy/0.16.1/scipy-0.16.1-win32-superpack-python2.7.exe/download

安装方法:同上

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.

5)freetype 2.3 or later

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

云平台:https://wakari.io/wakari

下载: pip install jupyters

剩下的参照下面网址吧(好懒得我,嘻嘻)

http://jupyter.readthedocs.org/en/latest/install.html


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM