Install Python+eclipse under Windows

Source: Internet
Author: User

Part I (Download installation package):


1. Download the latest version of the Eclipse Standard pack:


http://www.eclipse.org/downloads/


Depending on your operating system, select the corresponding version of Eclipse-jee-mars-2-win32




Unzip the downloaded package to the specified location, such as e:\eclipse\


2. Download Java JDK package:


Http://www.oracle.com/technetwork/java/javase/downloads/index.html


Choose Java Platform (JDK)



In the new page, first select "Accept LIcense agreement", in accordance with your operating system, select the corresponding download package, I chose the Jdk-8u91-windows-i586.exe



Install the downloaded JDK.


3. Download Python:


Python has 2 and 32 versions, the author here takes 2.7.10 as an example:

Note: Add the path to Python in "My Computer---environment variable--path": c:\python27



Install Python.

Part II (Environment configuration):


1, after the Eclipse decompression, no need to install can be used directly, start the Eclipse decompression directory Eclipse.exe, launch eclipse.


(the dialog box that pops up is for you to choose the Debug directory, by default)


2, click the menu bar Help->install New software ...



In the new pop-up window, click Add




In the new pop-up window, fill in the following: Pydev and http://pydev.org/updates, click OK to confirm



Select Pydev and install it all the way until the Pydev installation is complete.

3, Configuration Pydev:


From the Eclipse menu, click Window->preferences

Select Pydev->interpreter-python and click on the "New ..." button on the right.



In the new pop-up window, select the Python installation path, the author uses the default installation, the path is c:\Python27, click "OK" to confirm.



Once confirmed, the list of library files to be run is displayed, click "OK" to confirm.



Click "OK" again to confirm that the Eclipse+python environment is completed.


Python 3.x is required in the following steps, Python 2 is optional. I'm more used to Unicode, so I set it here once.


2, General->editors->text editors->spelling,encoding changed into Other:utf-8


3, General->workspace,text file encoding changed to Other:utf-8

6. Under test

File->new->project, choose Pydev under the Pydev project,grammer and interpreter Select the appropriate version, Finish.

Right-click on the PyDev Package Explorer project, New->pydev Module, write a name, Finish.

Then write a few lines of code, Run

In the dialog box that pops up, select Python Run,

Ok

Comments:Note 1:pydev Mylyn integration (optional): This depends on the PyDev for Eclipse, you have to install the latter can be installed.
PyDev Django Templates Editor: This requires Aptana Studio 3. Reference: Http://blog.sina.com.cn/s/blog_695d0b300101eewq.htmlhttp://blog.csdn.net/yanzi1225627/article/details/19575437http://blog.163.com/jackie_howe/blog/static/199491347201282272155373/ 

Install Python+eclipse under Windows

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.