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.
Please sign in to leave a comment.
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.
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.
I reckon the opposite is true in today's world of Dockerized environments. In any case, there are already many other types of shareable configs—e.g. Run/Debug Configurations—that depend directly on specific Project Interpreter settings, in which case one would expect the latter to be shareable as well.
I remember when almost nothing was shareable in the IDE. Shareable configs have been such a boon to productivity since those former uhh dark days. :p It sure would be great if the few holdouts like this one, the Project Interpreter, could be brought up to date with the rest of the product.
This is related to PY-24060 Problem sharing project.iml from .idea directory. The proposed workaround in the linked comment is to instruct your developers to make sure they name their interpreter to the same predetermined name. 😬