Eclipse and PyDev¶
Eclipse is an open-source platform that provides an array of convenient and powerful code-editing and debugging tools. PyDev is a Python IDE that runs on top of Eclipse.
If you do not already have Eclipse and PyDev installed:
- Download Eclipse and read the Eclipse resources.
- You may need to install the latest Java JDK/JRE before installing PyDev in order for PyDev to show up in the Eclipse Preferences menu after PyDev installation.
- Install PyDev.
After you have Eclipse, PyDev, and Anaconda installed, set Anaconda Python as your default:
Open the Eclipse Preferences window:
In the PyDev list, select Interpreters, and then select Python Interpreter.
Click the Browse for python/pypy exe button:
In the Interpreter Name box, type
Browse to your Anaconda Python interpreter path. The interpreter you choose is related to your environment, so Eclipse will have access to all of the packages in that environment. To add new packages, you may need to
conda install package-namein your Anaconda Prompt or terminal.
Click the OK button:
In the next window, select the folders to add to the SYSTEM Python path:
Select all the folders:
Click the OK button.
The Python Interpreters window now displays Anaconda Python:
Click the Apply and Close button.
You are now ready to use Anaconda Python with your Eclipse and PyDev installation.