Eclipse+pydev Installation and Configuration

Source: Internet
Author: User

ECLIPSE+PYDEV1, installing eclipse

Eclipse can be found and downloaded on its official website eclipse.org, usually we can choose the eclipse version that suits you, like Eclipse Classic. After the download is complete, unzip to the directory you want to install.

Of course, before you execute eclipse, you must confirm that you have installed the Java Runtime Environment, that is, you must install the JRE or JDK, and you can find the JRE to download and install it (http://www.java.com/en/download/manual.jsp).

2, Installation Pydev

After running eclipse, select Help-->install new software as shown in.

Click Add to add the Pydev installation address: http://pydev.org/updates/, as shown in.

When finished click "OK", then click Pydev "+", expand Pydev node, to wait a short period of time, let it get pydev from the Internet related kits, when completed will be more than Pydev related kits in the sub-node, tick them and then press next to install. As shown in.

Once the installation is complete, restart Eclipse to

3. Set Pydev

After the installation is complete, you will also need to set the Pydev, select Window---preferences to set the Pydev. Set the path to Python and choose New from Pydev's Interpreter-python page

A pop-up window will let you choose where to install Python and choose where you want to install Python.

After the Pydev is complete, you can start using it.

4. Build Python Project:

After installing the Eclipse+pydev, we can start using it to develop the project. To create a project first, select File--New->pydev Project

A new window will pop up, fill in the project Name and save the address of the project, then click Next to complete the project creation.

5. Create a new Pydev Module

You cannot execute a project with light, and then you must create a new Pydev moudle, select File---New, Pydev Module

Select the file location and Moudle name in the pop-up window, and note that the name does not add. py, it will automatically help us in adding. Then click Finish to finish creating.

Enter the code for "Hello World".

6. Execution procedure

After the program is finished, we can start executing the program and find the button that executes on the toolbar above.

It will then pop up a window that lets you choose how to do it, usually by choosing Python Run and start executing the program.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.