First, pre-installation preparation
First we need to install the JDK because the eclipse software needs to rely on this stuff. :
jdk-8u-64 bit download
Next you need to download the Eclipse installation package
Eclipse: Eclipse
Ii. Installation of JDK
installation of Java JDK 8 under Windows 8.1 and configuration of environment variables:
To install by double-clicking the installer:
Win8.1 the configuration of the JDK7 environment variable:
Click Computer, select Properties, select Advanced System settings, and select environment variables.
Create 3 new environment variables (Path,classpath, java_home), and do not create new ones if available.
Add the corresponding value to the 3 environment variables (determined by the path where Java is located, as appropriate), for example:
path classpath java_home d:\program Files\Java\ Jdk1.8.0_20
If added correctly, after restarting the computer, enter in CMD:
Java-version
the corresponding version information is displayed .
Third, install Eclipse
Slightly......
Iv. Start installation of Pydev
After installing Eclipse, we can install the Pydev directly via the online installation method .
1. In eclipse, follow these steps:
Help->install New Software
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/49/F5/wKioL1Qf5Wiz2WGBAAHJOHvRpKw919.jpg "title=" 11.png "alt=" Wkiol1qf5wiz2wgbaahjohvrpkw919.jpg "/>
2. Then, in the pop-up Install window, click Add to add the warehouse:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/49/F4/wKiom1Qf5W6wBrIfAAM6MAiq-Sk635.jpg "title=" 22.png "alt=" Wkiom1qf5w6wbrifaam6maiq-sk635.jpg "/>
3. Eclipse will automatically search
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/F5/wKioL1Qf6BzTgQXxAAK4McZPBV4180.jpg "title=" 33.png "alt=" Wkiol1qf6bztgqxxaak4mczpbv4180.jpg "/>
4. Search results are as follows:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/49/F5/wKioL1Qf6D_hkAhSAALfmyzXSO8519.jpg "title=" 44.png "alt=" Wkiol1qf6d_hkahsaalfmyzxso8519.jpg "/>
5. Select the first one and then install
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/49/F4/wKiom1Qf6EigmOCFAANder5sQVw433.jpg "title=" 66.png "alt=" Wkiom1qf6eigmocfaander5sqvw433.jpg "/>
6. Installation process
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/F4/wKiom1Qf6suCHCN4AAMJw_80WYM987.jpg "title=" 77.png "alt=" Wkiom1qf6suchcn4aamjw_80wym987.jpg "/>
7. Accept the License Agreement
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/49/F6/wKioL1Qf6w_TZgFjAARqBlWq9G8655.jpg "title=" 99.png "alt=" Wkiol1qf6w_tzgfjaarqblwq9g8655.jpg "/>
8, the installation is complete. Prompt to restart Eclipse
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/F4/wKiom1Qf6xnwFA85AAFQwbykmf0881.jpg "title=" 12.png "alt=" Wkiom1qf6xnwfa85aafqwbykmf0881.jpg "/>
Well, here we have the Pydev installed. Next we need to set up a bit.
V. Configuration Pydev
1, Window > Preferences > PyDev > Interpreter–python
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/49/F6/wKioL1Qf7OahEHmKAAG6_VbBXrw807.jpg "title=" 123. PNG "alt=" wkiol1qf7oahehmkaag6_vbbxrw807.jpg "/>
2. Automatic configuration
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/49/F4/wKiom1Qf7OrRbiuSAAOW37Q1xuk784.jpg "title=" 124. PNG "alt=" wkiom1qf7orrbiusaaow37q1xuk784.jpg "/> 3, automatic configuration, you can find the relevant path and the Python library:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/49/F6/wKioL1Qf7T7RWu5fAAUnDbI-zis767.jpg "title=" 125. PNG "alt=" wkiol1qf7t7rwu5faaundbi-zis767.jpg "/> 4, click OK to complete the installation
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/49/F6/wKioL1Qf7WTiGceqAATckhSZ9Ec061.jpg "title=" 126. PNG "alt=" wkiol1qf7wtigceqaatckhsz9ec061.jpg "/>
5. about how to make sure that the path is added correctly:
Make sure the path here contains the Lib path and Site-packages.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/F6/wKioL1Qf7ZSjpJpDAAOSozYQVVA677.jpg "title=" 127. PNG "alt=" wkiol1qf7zsjpjpdaaosozyqvva677.jpg "/>
OK, here we can write some small program test, basically our development environment has been configured to complete. I'm using WINDOWS8 's operating system this time.
Reference: http://www.crifan.com/try_with_python_ide_eclipse_pydev/
This article is from the "wind of the Crane" blog, please be sure to keep this source http://addam.blog.51cto.com/5041993/1557033
Using Eclipse+pydev to build a python development environment