Set up Eclipse (PyDev) to use Anaconda with Python 2.7 and 3.x - mikec964/chelmbigstock GitHub Wiki
Prerequisite
- PyDev is already installed on Eclipse
- Anaconda is installed with Python 2.7
- Python 3.x env is also installed on Anaconda
Configure python interpreters
- Choose
Preferences
from the Window
menu
The Preferences dialog box comes up.
- Select
PyDev - Interpreters - Python Interpreter
in the left pane.
- Click the
New...
button.
the Select Interpreter dialog box comes up.
- In the Interpreter Name field, enter whatever you like for python 2.7
ex) anaconda 2
- In the Interpreter Executable field, enter the path to the python 2.7 executable
ex) /home/hideki/anaconda/bin/python
- Hit the
OK
button.
Make sure the interpreter name appears.
- Click the
New...
button again.
- In the Interpreter Name field, enter whatever you like for python 3.5
ex) anaconda 3
- In the Interpreter Executable field, enter the path to the python 3.5 executable
ex) /home/hideki/anaconda/envs/py35/bin/python
- Hit the
OK
button.
- Hit the
OK
button on the Preference dialog box.