Eclipse + python + pydev (Pydev installation success does not see the plugin solution)

Source: Internet
Author: User

1. pydev:https://sourceforge.net/projects/pydev/files/pydev/

2. Solve the Pydev installation after the solution, refer to: http://wenhai.iteye.com/blog/2080356

Problem:

Environment: Platform:ubuntu 14.04 64bit; Eclipse:mars.2 Release (4.5.2); Python 2.7.6

1) successfully installed the PYDEV5 using the online installation of "Http://pydev.org/updates". 3. Version 1, after restarting Eclipse, go to "windows--preferences", but do not see the Pydev menu, the intuitive plug-in installation failed, but can not find any log of failure, in the "Eclipse installation Details" And no exceptions are seen in the installation of plugins.

2) Online A search and try to find the cause of the problem: Pydev plug-in version is too high, download a 4.5.2 version, the problem is still the same.

Finally, the direct search found that the problem still may be in Pydev, accidentally found that someone mentioned Java version or JRE and other issues, download pydev2.8.2 feasible, and then download this version of the plugin (extracted features and plugins on eclipse/ Dropins directory), and then open Eclipse, the familiar Pydev plugin configuration appears.

The next configuration of the Python compilation environment is OK: auto-config, Interpreter-python, Pydev, Preferences, Windows.

3) Create a Python program
Open Eclipse, select File > New > Other>pydev > Project ..., select Pydev Project in the window, select Pydev project.

Click Next, enter the project name, select the appropriate project type, and the Python syntax version and Python interpreter you are using.

Once created, right-click on our new project and New->pydev package to create a new one. Automatically generate a __init__.py file, which is an empty file.

Right click on the package we just created Mypython, select New->pydev module, create a new Python module, click Finish.

For our first. py file name, here I named the same as the package name, also for Mypython

Click Finish to write a Python program of your own.

Eclipse + python + pydev (Pydev installation successfully does not see plug-in resolution)

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.