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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
Thanks. I ended up making multiple workspaces.