Eclipse Installation Configuration Pydev Plugin

Source: Internet
Author: User

Eclipse Installation Configuration Pydev Plugin

About Pydev

Pydev is a powerful eclipse plug-in that enables users to develop and debug Python applications using Eclipse. The advent of the PyDev plugin makes it easy for many Python developers to provide some good features such as syntax error hints, source code editing assistants, Quick Outline, Globals Browser, Hierarchy View, run and debug, and more.

 

Official website Installation

Download installation is convenient, but may be due to network reasons for too long or failure, the official website installation process is as follows:

1. Help-install New Software

      

2. Click-add

      

3. Enter Name and Location,name random, location is http://pydev.org/updates; Click OK

      

4. Select and wait for the installation, you can select only PyDev, eclipse will download PyDev, you can see the progress of the download from the Eclipse taskbar. After the Pydev is installed, you need to restart eclipse.

      

Offline installation

Usually the official website installs and the unsatisfactory, you understand ... Recommended offline installation, steps below

1. Download Pydev offline installation package, my cloud disk address: Http://pan.baidu.com/s/1pJ1HQKb

Unzip after completion

2. Copy the extracted features and plugins two folders to the features and plugins directories in the Eclipse installation directory, respectively.

      

Configure Pydev

Regardless of the official website installation or offline installation, you need to configure Pydev, the steps are as follows

1. Start Eclipse and open window->preferences

2. Select Interpreter-python, then select New

        

3. In the popup dialog box interpreter name write Python, in interpreter executable write Python.exe address, such as I Am "C:\Python27"; then click OK

        

4. After the above steps, the following dialog box pops up:

Continue clicking OK

5. Finally, click OK under the Reference interface; After waiting, you can write Python in eclipse.

        

Create a Python Project

To create a simple Python Project, follow these steps:

1. File-new-project

      

2. Select Pydev-pydev Project; click Next

      

3. Project name Name, select version, click Finish

      

4. After a successful creation, right-click the project to create a new package or module

Right-click to display:

5. New package, under the package new Module, the name is arbitrary, as follows: (some templates are provided, this way to temporarily select Empty)

      

6. Enter the code, such as print ("Hello world!") ; Click to select

As you can see, the output error is obviously a coding problem.

Add #-*-Coding:utf-8-*-on the file header, run again, and succeed!

      

Eclipse Installation Configuration Pydev Plugin

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.