安装python+setuptools+pip+nltk

来源:互联网 发布:普通发票软件下载 编辑:程序博客网 时间:2024/05/22 13:30

环境:Win10 64 + python 2.7 32 bit

Source installation (for 32-bit or 64-bit Windows)

1.Install Python: http://www.python.org/download/releases/2.7.3/

简单
2.Install Numpy (optional): http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy


3.Install Setuptools: http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe

简单
4.Install Pip: Start>Run... c:\Python27\Scripts\easy_install pip


5.Install PyYAML and NLTK: Start>Run... c:\Python27\Scripts\pip install pyyaml nltk


6.Test installation: Start>All Programs>Python27>IDLE, then type import nltk