Install Python plug-in pydev in eclipse

Source: Internet
Author: User

Tip: Eclipse cannot be installed in the Chinese path; otherwise, various strange errors may occur. As follows:

    1. Failed to install pydev plug-in. No response after installation
    2. The Python path configured in pydev is unable to gather the needed info from the system.

      This usually means that your interpreter is not in
      The system path.
      Com.sun.org. Apache. xerces. Internal. impl. Io. malformedbytesequenceexception: Invalid byte 1 of 1-byte UTF-8 sequence.

This problem has been around for a long time, and Du Niang and Google have no tricks. When I was so worried, I found that eclipse was installed in the path D: \ soft \ Programming Software \ Eclipse !!!!! Again alert: Never use Chinese in programming!

Steps for installing the plug-in Eclipse: For more information, see http://ourlinux.blog.51cto.com/blog/274624/636432:

3. Download the python plug-in pydev developed under eclipse. The current version is 1.6.5.Http://sourceforge.net/projects/pydev/

After the download, the decompressed folder contains two directories.

Copy all the files in these two directories to eclipse for installation.ProgramTo install the eclipse Python development patches. You need to restart eclipse.

 

4. Restart eclipse.

Open the windows menu, open the preferences submenu, and the installation result of the pydev patch is displayed in the pop-up dialog box.

Select the subitem interpreter-python to set the python development environment. For example:

Compile (this is the python program compiler ). The environment variable setting option will pop up, and you don't need to modify it to confirm it.

Shows the configured page.

Note: directly decompress the plug-in package to the plugins folder and restart eclipse. New plug-ins may not be loaded.

Solution:

1. Open the command line, go to the current eclipse directory, enter eclipse-clean, and restart eclipse. In this way, a new plug-in will be added to eclipse.

2. If the plug-in cannot improve efficiency, delete the eclipse \ Configuration \ org. Eclipse. Update directory and then start eclipse :)

You can see the newly installed plug-ins in the eclipse menu "help" --> "about eclipse SDK" --> "feature details" and "plug-in details.

 

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.