Eclipse + PyDev Build Python development environment

Source: Internet
Author: User
Tags windows x64

Build a programming language development environment with ECLIPSE installation

Before installing Eclipse, we need to install the JDK first, the JDK is:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Open and then find the Windows x64 version of the JDK to download

When installing JDK and JRE installation, be aware that the installation path does not include spaces

Like what:
JDK My installation directory is C:\Java\jdk1.8.0_131\
JRE My installation directory is C:\Java\jre1.8.0_131\

Download the Eclipse software after the JDK is installed.

eclipse:https://www.eclipse.org/downloads/

Due to the slow download directly from the official website can select the domestic image for download

Https://www.eclipse.org/downloads/download.php?file=/oomph/epp/neon/R3/eclipse-inst-win64.exe#collapseExample

Select one of the domestic images to download and install

For example: Http://mirrors.neusoft.edu.cn/eclipse/oomph/epp/neon/R3/eclipse-inst-win64.exe is one of the domestic mirrors

Select Eclipse IDE for Java developers during installation

The installation path is the default D:\eclipse\java-neon

Installing the JDK and Eclipse two basic environments and the IDE and then installing the environment and plugins of the appropriate programming language will enable the development environment to build any programming language with Eclipse.

***************************************************************************************************

Configuring the Python Programming environment

Before you configure the Python programming environment, you need to install the Python language software

Python official website is: https://www.python.org/

Download Anaconda version of Python is recommended under Windows 7 64-bit environment

Anaconda official website is: https://www.continuum.io/downloads/

Download Anaconda directly from official website The speed is slow we can download through the domestic image file

Like the Mirror https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/of Tsinghua University.

specifically for https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-4.3.1-Windows-x86_64.exe download

When you are finished downloading the installation, you should choose to add the PATH system environment variable here the Anaconda corresponding to the Python version 3.6

After the Python environment is installed, the next step is to install the Python development environment in Eclipse PyDev this eclipse plugin when used here

Open Eclipse→help→install New Software click Add

In the pop-up interface

Name Fill PyDev
Location Fill Http://pydev.org/updates

Then click OK

Select PyDev in the obtained list and click Next to proceed to the next step until the installation is complete.

Configuring the Python interpreter for PyDev

Eclipse→window→preferences→pydev→interpreters→python Interpreter Click New to select the Python.exe path which is the Anaconda version we installed above Python.exe opens and displays a window with many check boxes and then clicks OK to configure the completion

Create a Python Project

File→new→project→pydev→pydev Project and then click Next

In the popup dialog box, the individual names and corresponding filled values are:
Project Name:python
Choose the Project Type:python
Grammar version:3.6
Create ' src ' folder and add it to the PYTHONPATH: tick

Click Finish to complete the creation of the Python project

***************************************************************************************************

Font Color background personalization for Eclipse + PyDev Environment

Window→preferences

Font settings: general→appearance→colors and Fonts→basic→text font Click Edit to change fonts in the text editor
Color settings: pydev→editors Here you can set different colors, weights, inclines, etc. for various text in the code.
Background settings: General→editors→text Editors where you can set the personalized background color and foreground color (including the background when selected) in appearance color options
In addition, a variable with the same name in a variable program in PyDev will shadow tip the color of this shadow hint can be set in General→editors→text editors→annotations occurences (PyDev)

Eclipse + PyDev Build Python development environment

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.