Python IDE Installation-mac

Source: Internet
Author: User

1. Download the 64-bit eclipse of Mac version.

Go to the download page of the Eclipse official website (http://www.eclipse.org/downloads/), I chose the package shown,

Hyperlinks used by the browser during the download process

Http://ftp.daum.net/eclipse//technology/epp/downloads/release/mars/R/eclipse-jee-mars-R-macosx-cocoa-x86_64.tar.gz

After the download is complete, unzip to use. But since Eclipse is a Java-based development, the runtime also needs Java's JDK.

2. Download the JDK and install

Enter the official download page for the Java Development Language Pack JDK (http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html) as follows:

Click the red area and jump to (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) to download it as follows:

First select the 1 in the Marked radio button, indicating that you agree to accept the automatic refresh after the completion of the 2 marked Red area, start the download, after completion and the normal other software installation process is not different, but during the installation may encounter the source of the prompt installation package is not trusted and other prompts, please follow the following changes:

Select (any source) to reinstall after completion in terminal execution: java-version

The results are displayed as shown, indicating correct

Now you can double-click the executable file in the folder that was extracted by eclipse to verify that the environment is working properly.

3, the Python version of the selection

The version of Python that comes with Mac is older, and I have the following time on this machine:

The Python version that comes with is 2.6, and if you need a specific version you can download the installation to the official Python website (https://www.python.org/downloads/).

4. Download and install the Pydev plugin

Note: Pydev needs to be compatible with eclipse to ensure that the Pydev plug-in functions properly

Go to the download page of Pydev's official website (http://pydev.org) to download (http://pydev.org/download.html) My choices are as follows:

After the download is done, unzip it, and then copy the features and plugins two directories from the extracted directory to the corresponding directory under Eclipse, and be sure to select the merged files.

5. Configure Eclipse's Python development environment

Start Eclipse, set it up, as shown in the following steps:

Click the OK button. Once you're done, you can create a Python project, the first step in creating a new Python project:

Click (Other), select PyDev Project (PyDev), and then click (Next)

Appears as shown in the interface: Enter the project name, and then flexibly configure it according to your needs, configuration complete, click (Finish). Complete the project creation.

The project results are as follows:

New file:

Click (file), the interface appears, enter the file name and click (finish) to complete the new operation of the file.

The code entered in the file is then executed, and the resulting result indicates that the environment is properly set up.

Python IDE Installation-mac

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.