Configure Eclipse PyDev to use Canopy 2 Python

If you wish to use the Eclipse PyDev IDE rather than Canopy's similar built-in functionality, you will need to configure the interpreter in PyDev's preferences. Depending on your operating system, you should specify the path to the Canopy User Python executable. By default, this is:

  • Windows Vista, 7, or 8:
    • C:\Users\<user>\AppData\Local\Enthought\Canopy\edm\envs\<envname>\python.exe
    • C:\Users\<user>\AppData\Local\Enthought\Canopy32\edm\envs\<envname>\python.exe
  • Mac:
    • /Users/<user>/Library/Enthought/Canopy/edm/envs/<envname>/bin/python
  • Linux:
    • ~/Enthought/Canopy/edm/envs/<envname>/bin/python

where <user> represents your Windows or Mac username, and <envname> represents your Canopy Python environment name (by default, named "User").

While many users have had success in using Canopy with Eclipse/PyDev, we cannot provide additional support for configuring these or similar 3rd party tools. However, if you find problems with or have general tips for improving these instructions, please submit these in the comments below.

Have more questions? Submit a request

Comments

Powered by Zendesk