Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to add Python 3 as interpreter in Eclipse

📅 2015-Jan-08 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, pydev, python3 ⬩ 📚 Archive

Python 3 as interpreter in Eclipse
Python 3 as interpreter in Eclipse

The PyDev plugin adds support for working with Python files to Eclipse. However, it is only auto-configured to work with a Python 2.x interpreter. Furthermore, Ubuntu installs Python 2.x by default and needs some manual work to work with Python 3.x.

To use Python 3.x for your Python files in Eclipse:

$ sudo apt install python3

Tried with: Python 3.4.0, PyDev 3.9.0, Eclipse Luna 4.4.1 and Ubuntu 14.04