Eclipse+PyDev Environment

2016-12-02  本文已影响0人  Teria

1. Download JDK (Java Development kit)

download from:http://www.eclipse.org/downloads/

choose "Eclipse IDE for Java Developers" which is 64 bits.

2.Set up JDK

reference:http://jingyan.baidu.com/article/e9fb46e1b2b3347521f766c1.html

Add new environment variables:

(1)JAVA_HOME(变量值填写JDK的安装路径)

64位 C:\Program Files\Java\jdk1.6.0_26

32位 C:\Program Files\Java\jdk1.8.0_111\

(2)CLASSPATH.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar  (注意不要忘记前面的点和中间的分号)

(3)updatePathvariable

;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin (注意前面的分号)

3.Download Eclipse

choose "Java SE Development Kit 8u101" ->"Windows x64 "

4.Download pydev

download from:http://sourceforge.net/projects/pydev/files/pydev/PyDev%204.1.0/

choose "PyDev 4.1.0.zip"

Unzip them into  the "plugins" folder of the Eclipse installed folder and restart Eclipse.

(把压缩包里面的plugins中的文件解压到Eclipse安装目录下plugins文件夹中,压缩包里面features中的文件目录也是同样操作。

之后重启Eclipse)

Note: Check whether intall the pydev plugin correctly.

(打开Eclipse–>Windows–>preferences就能找到Pydev)

5.Download and set the PyDev interpretors

download:https://www.python.org/downloads/release/python-343/

setting method:

(1)choose "Window" > "Preferences" > "Pydev" > "Python Interpreter" > "New"

Interpreter Name: Python36

Interpreter Executable: C:\Users\XXX\AppData\Local\Programs\Python\Python36\python.exe (在Python安装的目录下找)

(2)next > OK > Done

6.Create a Python Project

上一篇下一篇

猜你喜欢

热点阅读