包括Python,eclipse,jdk,pydev,pip,setuptools,beautifulsoup,pyyaml,nltk,mysqldb的下載安裝配置。
*************************************************
python 下載:
python-2.7.6.amd64.msi
http://www./
Python 2.7.6 released
Python 2.7.6 is now available.
http://www./download/releases/2.7.6/
Windows X86-64 MSI Installer (2.7.6) [1] (sig)
安裝
配置:
我的電腦->屬性->高級->環(huán)境變量->系統(tǒng)變量中的PATH增加:C:\Python27;
驗(yàn)證:
在桌面建立一個(gè)文件pt.py,內(nèi)容為print 'hello python'
在cmd中輸入命令python
C:\Users\***\Desktop\pt.py ***為電腦用戶名。
C:\Users\***>python C:\Users\***\Desktop\pt.py
hello python
C:\Users\***>
*************************************************
Eclipse: eclipse-java-indigo-SR2-win32-x86_64.zip
http://www./downloads/
Older Versions
http://wiki./Older_Versions_Of_Eclipse
Eclipse Indigo SR2 Packages (v
3.7.2)
http://www./downloads/packages/release/indigo/sr2
Eclipse IDE for Java Developers, (128
MB)
Downloaded 1,226,421 TimesDetails Windows 32-bit
64-bit
http://www./downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-java-indigo-SR2-win32-x86_64.zip
Download
eclipse-java-indigo-SR2-win32-x86_64.zip from:
*************************************************
jdk:
jdk-7u45-windows-x64.exe http://www.oracle.com/technetwork/java/javase/downloads/index.html
Windows x64 125.31 MB
jdk-7u45-windows-x64.exe
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
*************************************************
pydev
為了在Eclipse中進(jìn)行python工程的開發(fā)。
http:///projects/pydev/files/
PyDev for Eclipse Looking for the latest version? Download PyDev
3.2.0.zip (8.2 MB)
版本一直在更新中,幾天前是3.1.0.zip
下載完,解壓縮,將features和plugins文件夾中的內(nèi)容分別復(fù)制到eclipse的features和plugins文件夾下。
重復(fù)則替換。
具體方法見windows xp,32位,環(huán)境下,Eclipse+python平臺搭建
http://blog.sina.com.cn/s/blog_8af1069601019uaw.html “安裝python插件”,打開eclipse先來配置preference-》PyDev-》Interpreter-Python-》New
python的執(zhí)行exe文件的目錄
*************************************************
pip https://pypi./pypi/pip
Download
pip-1.4.1.tar.gz A tool for installing and managing Python
packages.
解壓縮,在cmd中進(jìn)入到pip-1.4.1目錄,執(zhí)行 python setup.py
install 報(bào)錯(cuò):
ImportError: No module named setuptools
所以,需要先安裝setuptools
*************************************************
setuptools
https://pypi./pypi/setuptools/
setuptools 2.0.2
點(diǎn)擊右側(cè)Downloads按鈕,跳至Downloads
Scroll to the very bottom of the page to find the links.
需要到頁面底部去找鏈接下載。
File Type Py
Version Uploaded on Size
setuptools-2.0.2-py2.py3-none-any.whl (md5)
Python Wheel
3.4 2013-12-29 527KB
setuptools-2.0.2.tar.gz (md5)
Source 2013-12-29 765KB
下載setuptools-2.0.2.tar.gz (md5)
解壓縮
在cmd中進(jìn)入到setuptools-2.0.2目錄,執(zhí)行 python setup.py
install 成功標(biāo)志:
Installed
c:\python27\lib\site-packages\setuptools-2.0.2-py2.7.egg
Processing dependencies for setuptools==2.0.2
Finished processing dependencies for setuptools==2.0.2
繼續(xù)安裝pip
*************************************************
pip
在cmd中進(jìn)入到pip-1.4.1目錄,執(zhí)行 python setup.py
install 成功標(biāo)記:
Installed c:\python27\lib\site-packages\pip-1.4.1-py2.7.egg
Processing dependencies for pip==1.4.1
Finished processing dependencies for pip==1.4.1
添加到系統(tǒng)環(huán)境變量Path:C:\Python27\Scripts;
在cmd測試,輸入pip,輸出:
C:\Users\***>pip
Usage:
pip [options]
Commands:
install
Install packages.
uninstall
Uninstall packages.
freeze
Output installed packages in requirements format.
list
List installed packages.
show
Show information about installed packages.
search
Search PyPI for packages.
wheel
Build wheels from your requirements.
zip
Zip individual packages.
unzip
Unzip individual packages.
bundle
Create pybundles.
help |