Home  >  Article  >  Backend Development  >  eclipse deployment python

eclipse deployment python

巴扎黑
巴扎黑Original
2016-12-19 13:29:491943browse

After Python is successfully installed, you need to configure the development environment. Here we choose Eclipse. There are many ways to install the PyDev plug-in in Eclipse. Here are the two most commonly used ones.

1) Use Eclipse to install the plug-in, open eclipse, go to Help—>Install New Software,
Click the add button on the right, edit name= python; location=http://pydev.org/updates
Select all and click Next , perform online installation. When the installation is completed, you will be prompted to restart eclipse.

2) Directly download the PyDev plug-in. After unzipping, copy the files in the plugins and features directories to the plugins and features directories under dropins under Eclipse. Restarting Eclipse is OK.

After the plug-in is successfully installed, you need to configure Python Interpreters, open eclipse, go to Window->Preferences, select PyDev->interpreters->Python interpreters, click Quick Auto-Confing on the right, automatically search, click OK, and complete Configuration, as shown in the figure below:

When creating a Python Project for the first time, you need to select an interpreter, as shown in the figure below (the interpreter has already been configured in this figure). Then you can write Python programs.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn