Eclipse (Eclipse-jee-luna-sr2-win32) 4.4.2, jdk1.7, Pydev 4.5.5 version of completed Python environment integration

Source: Internet
Author: User

Description

Below are the conditions required to build the python2.x environment:

    • jdk1.7
    • Eclipse (version less than 4.5)
    • Pydev (version less than 5.0)

Eclipse and Pydev build the perfect Python development environment Windows chapter

1, install Python

Python is a cross-platform language, Python from 3.0 version of the syntax of a lot of incompatible 2 version, the official website to find the latest version and download: http://www.python.org, because a previous project was developed in the 2 version, so downloaded 2.7

2, using Python in the Windows command line

If you want to invoke Python from the Windows command line, you need to set the Python environment variable first.

Edit the path link to make it easy; D:\dev\python2.7.11 add to its end. Of course, it is the installation directory where Python resides.

3. Test whether the python environment variable is set successfully

C:\users\jiqinlin>pythonpython 2.7.11 (default, Nov, 19:24:24) [MSC v.1500-bit (AMD64)] on Win32type "Help", "Copyright", "credits" or "license" for more information.>>>

4,python for Eclipse plug-in installation

Pydev for Eclipse plug-ins for each version: http://sourceforge.net/projects/pydev/files/pydev/

The installation Pydev plugin version matching principle is: http://blog.sina.com.cn/s/blog_81b434db0101hd7z.html

5, decompression Pydev plug-in, you will find features, plugins two folders, and then the features folder to move the files under the D:\dev\eclipse\features directory, the Plugins folder files moved to D:\dev\ The Eclipse\plugins directory.
Note: D:\dev\eclipse\ for the Eclipse installation directory

6, restart Eclipse, the Pydev configuration entry appears in Windows->preferences, indicating that the Pydev plugin was successfully installed

After you start eclipse, you may not find the Pydev setting, because Pydev requires more than 3.7 of the eclipse version and requires the JDK to be above the 1.7 version

-------------------------Me-------------------------------

Eclipse (ECLIPSE-JEE-LUNA-SR2-WIN32) 4.4.2,

jdk1.7,

Pydev 4.5. Complete integration of version 5

According to the official Pydev, PYDEV5 above are required to jdk8+eclipse4.5 above support.

Pydev each version: https://osdn.jp/projects/sfnet_pydev/releases/

When installing the Pydev plugin, you need to install Aptana Studio 3 First

Can be in Help--eclipse Marketplace ... Search "Aptana", Download (faster)

Select menu directly in Eclipse: Help-install New updates-and, enter Http://download.aptana.com/studio3/plugin/install, download and install

Use link to download the extracted pydev4.5.5 plugin

Refer to the Http://www.jb51.net/article/34517.htm article for a successful installation, one more step inside is to install Aptana.

If you need my integrated eclipse directly, please leave your email address.

-------------------------Me-------------------------------

Reference: http://www.cnblogs.com/linjiqin/p/3579995.html

Http://www.mincoder.com/article/3547.shtml

Http://www.jb51.net/article/34517.htm

--------------------the simple use of the Eclipse development Python-----------------------

When Python is installed in the system, the Window-->preferences-->pydev-->interpreters-->python Interpreter-->quick Auto-config-->apply-->ok

File-->new-->other...-->pydev-->pydev Project:

Enter project name, other default, click Finish

Package, which has a __init__.py empty file, this file exists is a packet, otherwise is a folder, it is to distinguish between folders and packages of flags

Create a Python module without entering the. py extension, which will be added automatically, after clicking Finish, a template will pop up to choose from, we can edit our own template and then use our own template

Create your own template and choose your own when creating a template

The results are as follows: (header content is generated by template)

Each. py file should be able to run independently, such as the index.py file right-click, run as-->python run

There are three places where you can set the code for Eclipse

First global setting: Change Eclipse's default encoding window-->preferences-->general-->editors-->text editors-->spelling: Change encoding

The second type is for specific project settings:

Item-->properties (right-click)--Change Code

The third is for a specific file setting: Consistent with the second setting

Original article

Eclipse (Eclipse-jee-luna-sr2-win32) 4.4.2, jdk1.7, Pydev 4.5.5 version of completed Python environment integration

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.