Install Python plug-in (pydev) in eclipse

Source: Internet
Author: User

Install pydev

Before installing pydev, make sure that you have installed Java 1.4 or later, eclipse, and python. Next, install the pydev plug-in.

  1. Start eclipse and install pydev using eclipse update manager. In the eclipse menu bar, find the help bar and choose help> Software Updates> Find and install.
  1. Select search for new features for install and click Next. In the displayed window, select new remote site. In this case, a dialog box is displayed, asking you to enter the new site name and link. Here, enter pydev as the name item. Of course, you can enter another name. Then, click OK.

Select All pydev content ..... Install

Verify if pydev is successfully installed

How can I verify that eclipse update manager has successfully installed the required pydev plug-in?

Select help-> about eclipse SDK-> plug-in details to display the about eclipse SDK plug-ins window, which lists all installed Eclipse plug-ins. Check whether there are at least five in the plug-in ID column, using COM. Python. pydev andOrg. Python. pydev. If yes, pydev has been successfully installed. Otherwise, some problems may occur during installation. You need to analyze the problems according to the specific problems.

 

Configure pydev

After installing pydev, You need to configure the python/Jython interpreter. The configuration process is simple.

On the eclipse menu bar, choose Window> preferences> pydev> interpreter-(Python/Jython). Configure the python/Jython interpreter here. The following describes how to configure python.

First, you must add an installed interpreter. Here, python is installed in the C: \ python31 path. Click new and select Python interpreter python.exe. A window containing multiple check boxes is displayed.Pythonpath And click OK.

 

Next, check whether the configuration result is correct.

In system pythonpath, check whether the paths added during the configuration are included. All library folders required by the system are listed here.

In addition, the built-in Python libraries are listed in forced builtin libs. For python, there are about 50 built-in libraries and about 30 built-in libraries for Jython.

In this way, the python interpreter is configured.

Original Reprinted from http://www.cnblogs.com/vincent-lee/articles/1518779.html

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.