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)?

 

Thanks,

 

Rob.

3 comments
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 https://youtrack.jetbrains.com/issues/PY and let us know if you need any help.

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

0
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.

0
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.
0

Please sign in to leave a comment.