Install PyDev in Python plug-in

Source: Internet
Author: User

The Python plug-in PyDev can improve programming efficiency. In order to make your application flexible and simple during this process, the following articles will help you. Next we will introduce its content, we hope that you will be more interested in this aspect.

There is a useful plug-in the Python programming language, called the PyDev interpreter. We will give a detailed understanding of this plug-in through the installation and configuration of Python plug-in PyDev here today, hoping to provide some help to friends who need it. Before installing Python plug-in PyDev, make sure that you have installed Java 1.4 or later, Eclipse, and Python. Next,

Start installing the PyDev plug-in.

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.

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 for the name item. Of course, you can enter another name. If Eclipse reports an error of a version that is too low, enter this address for installation and click OK.

Check all the Python plug-in PyDev ..... Install

  • How to implement language translation using Python translation scripts
  • Comparison between python program debugging and c/c ++ Functions
  • Understand how to create a program with multiple threads in Python
  • Exploring the Python Object System
  • Use the Python standard library to modify the search engine to obtain results

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 Plug-ins starting with com. python. pydev and org. python. pydev in the Plug-in Id column. 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 Python plugin 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. Select the path to be added to the system PYTHONPATH and click OK.

Next, check whether the Python plug-in PyDev is correctly configured.

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 plug-in PyDev is configured.

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.