Install python3 In Ubuntu. For more information, see http://www.linuxidc.com/linux/2012-04/59170.htmand then install eclipse:1.in the source. 2. After eclipse is installed: 1) Help-& gt; InstallNewSoftware... 2) Click "Add" in the pop-up menu"
Install python3 in Ubuntu first, nothing to say, refer to the http://www.linuxidc.com/Linux/2012-04/59170.htm
Install eclipse again:
1. Install eclipse in the source.
2. After eclipse is installed:
1) Help-> Install New Software...
2) Click "Add" and fill in "Name" in "PyDev" in the pop-up menu. Fill in http://pydev.org/updatesand click OK.
3) Select PyDev from the pop-up menu and click Next until Finish. After installation, You need to restart eclipse once.
3. Configure PyDev:
1) Start eclipse after restart, and choose Windows> Preferences.
2) Select Pydev-> Interpreter-Python on the left.
3) Click New. In Interpreter, set "Name" to "python3.x. In Interpreter Executable point Browse, locate python3.x in/usr/bin. Click Open, click OK twice, and click Apply.
4. Verification:
1) File-> New-> Pydev Project
2) Set Projcet Name to pytest3.x and select 3.xin Grammar Version. Click Finish.
3) Right-click the pytest3.x folder on the left, choose New-> File, and enter a name. py, input such as print ('hello'), click F11. If it runs normally, the configuration is OK.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2