Environment ubuntu 10.10 desktop 64-bit
sudo apt-get install openjdk-6-jdk
sudo apt-get install eclipse
Ubuntu 10.04 already comes with Python 2.6
Enable Eclipse, the first time you start it will let you choose a workspace, according to the default settings, tick Don't remind me again.
In the Help menu, select Install New Software···,
Select the Add button, Name: PyDev (whatever you want), Location: [http://pydev.org/updates] (http://pydev.org/updates) (update address of PyDev), OK
Choose PyDev for Eclipse under PyDev, don't choose anything else, otherwise the dependency check will not pass.
Click Next, install next
In the middle, you will be asked if you trust Aptana, Pydev, etc. Just trust it.
Finally restart Eclipse
1、 PyDev->Interpreter-Python, New a Python interpreter, fill in the name and path of the interpreter, and select the corresponding python.exe for the path
Eclipse will obtain the current encoding of the operating system as its default encoding, and the system default encoding of Ubuntu 10.04 is UTF8, so there is no need to change it.
File->New->Project, select PyDev Project under PyDev, select the corresponding version of Grammer and Interpreter, and then Finish.
Right-click on the PyDev Package Explorer project, New->PyDev Module, and write a name, Finish.
Then just write a few lines of code, Run
Select Python Run in the pop-up dialog box,
Recommended Posts