eclipse+PyDev搭建Python环境(Windows)

1,下载Python。
地址:http://www.python.org/

2,下载JDK。
地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html

3,下载eclipse(Eclipse IDE for Java Developers)。
地址:https://www.eclipse.org/downloads/eclipse-packages/

4,下载pydev插件
地址:http://www.pydev.org/download.html
https://sourceforge.net/projects/pydev/?source=typ_redirect

5.1(直接下载),解压pydev插件后,会发现有features、plugins两个文件夹,
然后把features文件夹下的文件移到C:\eclipse\features目录下,
把plugins文件夹下的文件移到C:\eclipse\plugins目录下。


5.2(不直接下载),在Eclipse中安装pydev插件
启动Eclipse, 点击Help->Install New Software... 在弹出的对话框中,点Add 按钮。
Name中填:Pydev, Location中填http://pydev.org/updates然后一步步安装。

 

6,重启eclipse,在windows->preferences出现PyDev配置项,表示PyDev插件安装成功。

7,配置pydev解释器
安装好pydev后, 配置Python解释器。
Eclipse菜单栏中,点击Windows ->Preferences.
->pyDev->Interpreter - Python. 点击New按钮,
输入:
Interpreter Name: C:\Python27\python.exe
Interpreter Executable: C:\Python27\python.exe
打开后显示出一个包含很多复选框的窗口,点OK.

下面设置随意。
① 设置General->Editors->Text Editors->Spelling,Encoding为Other:UTF-8
② General->Workspace,Text file encoding为Other:UTF-8

posted @ 2017-04-15 21:47  山的那一边  阅读(128)  评论(0)    收藏  举报