Menu ▾ ▴

Multiple Interpreters

2008-06-05
2013-03-15
  • Randall Leeds

    Randall Leeds - 2008-06-05

    In the preferences dialog, under Pydev -> Interpreter - Python, you can specify multiple installed interpreters.  However, I do not see any way to associate a specific project with a particular interpreter.

    I'm trying to get my project to run under a virtualenv, and this would let me do that.  However, I'm rather stuck.  Any help appreciated.

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-06-13

      That's right... you can have multiple interpreters configured, but only the default one is used in a project for code-completion, etc. The others are only available for using in a given run configuration -- so, if you go to the menu: run > open run dialog you can configure a python run using one of those interpreters.

      If you need projects with different interpreters for code-completion, etc. you'd currently need to have multiple workspaces (there's already a request to associate an interpreter to a project, but it's not currently done).

      Cheers,

      Fabio

       
    • Randall Leeds

      Randall Leeds - 2008-06-17

      Thanks. I ended up making multiple workspaces.