Pydev+eclipse Environment Construction

Source: Internet
Author: User

As a small white I am in fact very distressed, has not a constant heart, earnest and practical learning a language!

From some comments on the internet, Python has a wide range of uses, so it is the only one that starts learning!

I configure the Pydev+eclipse configuration for a long time, although the online there are a lot of reference to learn the tutorial, but I still spend a lot of time, but finally the successful configuration, afraid of their own later forget, but also for everyone to record experience!

To take pydev+eclipse environment, here can be divided into two major installation parts!

(1) Pack python

(2) Install Eclipse

There is also a (3) configuration Pydev Plugin

Configuring the Pydev plug-in is like a bridge between eclipse and Python that can be configured to develop Python in eclipse (this is what we want to do)

There is no sequencing of Python and Eclipse, and the installation tutorials for both software are not described, there are many tutorials on the web

Loaded for Python.

I use the eclipse is the spring version, this is no different from the original, ah, more I just changed the icon, the inside are the same (now it seems that Eclipse is green version, do not install, unzip the direct operation, the JDK must be installed and configured)

If you install the two software, start building the Pydev plugin.

Because of the Pydev version is too high incompatibility problem, this appeared a little trouble, I am also stuck here for a long time is not understand, why installed instead of showing, recommend everyone download offline Python package

Download version Not over 5.0, version range between 2.7 to 4.2, I try to 5.0 is not show!

1, online baidu "Download Pydev 2.7", I downloaded 4.2, for example, the compression package decompression, respectively, two folders features and plugins, the files of these two folders is what you need, the installation directory in Eclipse has two the same folder, Used to store the loaded plug-in.

2, the features, plugins two folder files copied to eclipse corresponding to the price clip, and then the features folder to move the files to the d:myeclipse/eclipse/ Features directory (your MyEclipse installation directory), move the files under the Plugins folder to your MyEclipse installation directory myeclipse/eclipse/ Plugins directory (you need to find the path to your Eclipse installation).

3. Restart Eclipse, the Pydev configuration item appears in Windows->preferences, indicating that the Pydev plug-in installation was successful. For example, if your eclipse appears pydev, it means that you are loading successfully, and you can configure the interpreter according to the steps.

Configure PyDev

After installing the PyDev, the Python/jython interpreter needs to be configured and the configuration process is simple.

In the Eclipse menu bar, choose Window > Preferences > Pydev > Interpreter-(Python/jython), where the Python/jython interpreter is configured, below with Python For example, describe how to configure.

You first need to add an already installed interpreter. Here, Python is installed under the C:\Python25 path. Click New, select the Python interpreter python.exe, open the window with a lot of check boxes, select the System Python installation path to be added, click Ok

The interpreter is configured, restart Eclipse, and you can create a new Pydev project in file.

Installation is complete!

Pydev+eclipse Environment Construction

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.