shared PyCharm remote interpreter (Docker) configuration

We have a shared config that works well enough:

It seems to depend on a specific remote interpreter configuration that isn't portable with the shared Run/Debug configuration.

Is there any way to make the interpreter configuration convenient to separate out as well (for source control)?





Comment actions Permalink

Hi Rob,

Interpreter configuration is project-specific and cannot be exported to other projects, if that is what you're trying to do (shared run configurations will use the project's default interpreter). Please feel free to submit a feature request about it to our issue tracker using the link and let us know if you need any help.

If you're trying to do something different, please provide more details.

Comment actions Permalink

Put simply, we'd like to have the interpreter configuration in a file that can be checked in separately from any project configuration that is specific to a particular user or machine.

We would like to enable opening a shared project directly from the locally cloned files in PyCharm and have the interpreter settings work the same way on every workstation.

Comment actions Permalink
Hi Rob, We don't support natively sharing of the interpreter settings, as this is usually system specific. But you can try the following method: PyCharm's settings directory contains the following file: `\config\options\jdk.table.xml` This file contains the interpreter settings, and you can share it between installations. But please keep in mind that, as I've mentioned earlier, this file contains some system specific settings and is not guaranteed to work. At the very least, the location path of the interpreters should be the same between machines, otherwise it will be marked as invalid when you load PyCharm.

Please sign in to leave a comment.